Replace FMT_CAN_MODULE by FMT_MODULE in test/CMakeLists.txt

This commit is contained in:
Tinson Lai 2022-10-12 22:30:49 +08:00
parent 19dc9a3828
commit 8c3b6f63ed
No known key found for this signature in database
GPG Key ID: 6CFD7FF178C401AA

View File

@ -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