Skip to content

Commit

Permalink
add -fno-rtti to gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
tlively committed Jan 23, 2025
1 parent 96d7454 commit 3714bb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ include_directories(
if(BUILD_TESTS)
add_library(gtest STATIC googletest/googletest/src/gtest-all.cc)
add_library(gtest_main STATIC googletest/googletest/src/gtest_main.cc)
target_compile_options(gtest PRIVATE "-fno-rtti")
target_compile_options(gtest_main PRIVATE "-fno-rtti")
endif()

0 comments on commit 3714bb1

Please sign in to comment.