From 7e7de550e9f5c142d6cc9e572a5e9e35a985b6a2 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 28 Aug 2017 18:51:41 -0400 Subject: [PATCH] Fix broken CMakeList.txt under MinGW (again) (Issue 476) Sorry about that Anonimal (x2) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42b40927..7453467a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,7 @@ endfunction(CheckCompilerOption) function(DumpMachine output pattern) execute_process( COMMAND sh -c "${CMAKE_CXX_COMPILER} -dumpmachine 2>&1" - COMMAND egrep -i -c "${pattern}" + COMMAND grep -i -c -E "${pattern}" OUTPUT_VARIABLE ${output} OUTPUT_STRIP_TRAILING_WHITESPACE) set(${output} "${${output}}" PARENT_SCOPE)