mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 18:00:17 +02:00
CMake: Disable libstdc++'s debug mode when compiling thunkgen
This allows the rest of the project to use _GLIBCXX_DEBUG.
This commit is contained in:
1 parent
2febb524e9
commit
581f3263ed
1 file changed
+3
@@ -19,5 +19,8 @@ target_link_libraries(thunkgenlib PRIVATE OpenSSL::Crypto)
|
||||
target_link_libraries(thunkgenlib PRIVATE fmt::fmt)
|
||||
target_compile_definitions(thunkgenlib INTERFACE -DCLANG_RESOURCE_DIR="${CLANG_RESOURCE_DIR}")
|
||||
|
||||
# Clang's libtooling won't compile with libstdc++'s debug mode
|
||||
target_compile_options(thunkgenlib PUBLIC "-U_GLIBCXX_DEBUG")
|
||||
|
||||
add_executable(thunkgen main.cpp)
|
||||
target_link_libraries(thunkgen PRIVATE thunkgenlib)
|
||||
Reference in new issue
Block a user