mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-23 09:49:42 +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}})
|
if (NOT ${${AML_IF}})
|
||||||
# Create a non-modular library.
|
# Create a non-modular library.
|
||||||
target_sources(${name} PRIVATE ${AML_FALLBACK})
|
target_sources(${name} PRIVATE ${AML_FALLBACK})
|
||||||
|
set_target_properties(${name} PROPERTIES CXX_SCAN_FOR_MODULES OFF)
|
||||||
return()
|
return()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user