Added -fno-rtti

This commit is contained in:
Benoit Blanchon
2015-09-29 21:51:21 +02:00
parent 929f608f2f
commit e657396f65

View File

@ -5,6 +5,7 @@ file(GLOB_RECURSE CPP_FILES *.cpp)
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)") if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
add_definitions( add_definitions(
-fno-exceptions -fno-exceptions
-fno-rtti
-pedantic -pedantic
-Wall -Wall
-Wcast-align -Wcast-align