diff --git a/CMakeLists.txt b/CMakeLists.txt index b1c39bef..36ae4389 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ endfunction(buildExamples) # Compiler specific stuff IF(MSVC) - SET(CMAKE_CXX_FLAGS "/EHsc") + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc") ENDIF(MSVC) IF(WIN32)