Added flag -fno-exceptions

This commit is contained in:
Benoit Blanchon
2014-11-07 13:31:55 +01:00
parent 5a56ec0636
commit d7bad3d70b

View File

@ -3,6 +3,7 @@ file(GLOB_RECURSE SRC_FILES *.cpp)
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
add_definitions(
-fno-exceptions
-Wall
-Wcast-align
-Wcast-qual