Skip to content

Commit

Permalink
Fix build with FMT_MODULE=OFF (#3997)
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Jun 7, 2024
1 parent db9365a commit 0560c33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()

Expand Down

0 comments on commit 0560c33

Please sign in to comment.