Adding flag to compile for c++11
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
#Setup CMake to run tests
|
||||
enable_testing()
|
||||
|
||||
if(UNIX)
|
||||
set(CMAKE_CXX_FLAGS "-std=c++11")
|
||||
endif(UNIX)
|
||||
|
||||
#Prep ourselves for compiling boost
|
||||
find_package(Boost COMPONENTS unit_test_framework REQUIRED)
|
||||
include_directories (${Boost_INCLUDE_DIRS} ../include ../tools/epanet-output/src)
|
||||
|
||||
Reference in New Issue
Block a user