From: khizmax <libcds.dev@gmail.com> Date: Wed, 8 Mar 2017 06:56:34 +0000 (+0300) Subject: Fixed CMake script X-Git-Tag: v2.3.0~127 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=188abb0a4ef7ea9d566ae33172e093efa3b7a4c1;p=libcds.git Fixed CMake script --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e6bdf69b..59669a02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,7 @@ if(NOT CMAKE_BUILD_TYPE) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - string(REGEX MATCHALL "-std=[^ ]+" cxx_std_found ${CMAKE_CXX_FLAGS}) + string(REGEX MATCHALL "-std=[^ ]+" cxx_std_found ${CMAKE_CXX_FLAGS} "dummy@rg") if(cxx_std_found) message("C++ std: ${cxx_std_found}") else()