--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ project(${PROJECT} CXX) ### # compilation options ### -IF (WIN32) +IF (MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /O2 /bigobj") # was causing conflics with gtest build