Workaround an ICE when using modules with gcc 14.2 and earlier

This commit is contained in:
Victor Zverovich
2025-01-12 08:47:52 -08:00
parent 8303d140a1
commit c43da35701
3 changed files with 3 additions and 3 deletions

View File

@ -69,8 +69,6 @@ function(add_module_library name)
target_compile_options(${name} PUBLIC -fmodules-ts)
endif ()
target_compile_definitions(${name} PRIVATE FMT_MODULE)
if (FMT_USE_CMAKE_MODULES)
target_sources(${name} PUBLIC FILE_SET fmt TYPE CXX_MODULES
FILES ${sources})