From 188abb0a4ef7ea9d566ae33172e093efa3b7a4c1 Mon Sep 17 00:00:00 2001 From: khizmax Date: Wed, 8 Mar 2017 09:56:34 +0300 Subject: [PATCH] Fixed CMake script --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.34.1