diff --git a/CMakeLists.txt b/CMakeLists.txt index be07e6b..56c4f4b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,10 @@ IF (MSVC) add_definitions(-D_CRT_SECURE_NO_DEPRECATE) ENDIF (MSVC) +if(UNIX) + set(CMAKE_CXX_FLAGS "-std=c++11") +endif(UNIX) + include_directories(include src tools/epanet-output/src) # configure file groups