CMake: Adjust fmt build macros

Set on the library, not globally.
This commit is contained in:
Stenzek
2025-12-31 17:30:02 +10:00
parent 84e4aed8a7
commit 4c79ee82ac
4 changed files with 11 additions and 8 deletions
-3
View File
@@ -116,9 +116,6 @@ if(BUILD_TESTS)
enable_testing()
endif()
# Prevent fmt from being built with exceptions, or being thrown at call sites.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DFMT_EXCEPTIONS=0")
# Recursively include the source tree.
add_subdirectory(dep)
add_subdirectory(src)