diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3fca5ab..38e5328 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -16,6 +16,9 @@ enable_testing() # Sets for output directory for executables and libraries. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) +if(UNIX) + set(CMAKE_CXX_FLAGS "-std=c++11") +endif(UNIX) #Prep ourselves for compiling boost if(MSVC)