From a056bbf2c812ce5ce95703e081b6cddd39206ee2 Mon Sep 17 00:00:00 2001 From: Michael Tryby Date: Tue, 4 Sep 2018 10:05:27 -0400 Subject: [PATCH] Fixing build error on Travis --- tests/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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)