mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 11:14:41 +00:00
Fix build with FMT_MODULE=OFF
(#3997)
This commit is contained in:
parent
db9365a11b
commit
0560c334fb
@ -53,6 +53,7 @@ function(add_module_library name)
|
||||
if (NOT ${${AML_IF}})
|
||||
# Create a non-modular library.
|
||||
target_sources(${name} PRIVATE ${AML_FALLBACK})
|
||||
set_target_properties(${name} PROPERTIES CXX_SCAN_FOR_MODULES OFF)
|
||||
return()
|
||||
endif ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user