From 8c3b6f63edb48f24b64cebf669287dc8a88088e1 Mon Sep 17 00:00:00 2001 From: Tinson Lai Date: Wed, 12 Oct 2022 22:30:49 +0800 Subject: [PATCH] Replace `FMT_CAN_MODULE` by `FMT_MODULE` in test/CMakeLists.txt --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 97163785..a198b513 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -94,7 +94,7 @@ add_fmt_test(enforce-checks-test) target_compile_definitions(enforce-checks-test PRIVATE -DFMT_ENFORCE_COMPILE_STRING) -if (FMT_CAN_MODULE) +if (FMT_MODULE) # The tests need {fmt} to be compiled as traditional library # because of visibility of implementation details. # If module support is present the module tests require a