diff --git a/test/multiarray/CMakeLists.txt b/test/multiarray/CMakeLists.txt index acd8d4c7f..868d9cf84 100644 --- a/test/multiarray/CMakeLists.txt +++ b/test/multiarray/CMakeLists.txt @@ -16,7 +16,7 @@ FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/impex) if(NOT MSVC) IF (CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7.0") - SET(CMAKE_CXX_FLAGS "-pthread ${CMAKE_CXX_FLAGS}") + SET(CMAKE_CXX_FLAGS "-pthread -std=c++0x ${CMAKE_CXX_FLAGS}") else() SET(CMAKE_CXX_FLAGS "-pthread -std=c++11 ${CMAKE_CXX_FLAGS}") endif()