aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2020-10-29 10:58:20 +0100
committerPaul Adenot <[email protected]>2020-10-29 10:59:22 +0100
commit91152553bd06f8dd51d12d82b8024bf7e503a9ec (patch)
tree1f6356ef8727289ebceb8032d31acda2258b6ef7
parentc9cbabf67857f49e710874cd63b9f7f3f940c78b (diff)
downloadcubeb-91152553bd06f8dd51d12d82b8024bf7e503a9ec.tar.gz
cubeb-91152553bd06f8dd51d12d82b8024bf7e503a9ec.zip
Tell GTest that RTTI is not available for clang (for other compilers it's automatically detected)no-exception-no-rtti
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f19e2b5..7651947 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,6 +57,7 @@ if(NOT OS2)
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
endif()
+set(GTEST_HAS_RTTI 0)
set(CMAKE_CXX_WARNING_LEVEL 4)
if(NOT MSVC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter")