diff --git a/CMakeLists.txt b/CMakeLists.txt index 312820825995a1baf3b5310ca3886e77ffbdc5bb..b835e8dbe657441c1264e9ff85b4d4bbbed8dfde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,9 +17,7 @@ if(DEBUGING) else() message(STATUS "releasing") add_definitions(-fvisibility=hidden -fvisibility-inlines-hidden) - add_definitions(-DENABLE_EXCEPTION) - - # add_definitions(-fno-exceptions) + add_definitions(-fno-exceptions) endif() if(IS_MAC)