Changed default back-off strategy
[libcds.git] / CMakeLists.txt
index e6bdf69b3032bb0676ceea5ce99b0a9c631f93ec..59669a02e7314bc6817130197560d2b33bceb42c 100644 (file)
@@ -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()