summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/FindCheckPatch.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindCheckPatch.cmake b/cmake/FindCheckPatch.cmake
index 2772676..3fa1ec8 100644
--- a/cmake/FindCheckPatch.cmake
+++ b/cmake/FindCheckPatch.cmake
@@ -20,7 +20,7 @@ if(CheckPatch_EXECUTABLE)
execute_process(COMMAND ${CheckPatch_EXECUTABLE} --version
OUTPUT_VARIABLE CheckPatch_VERBOSE_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE)
- string(REGEX REPLACE ".*Version:.([0-9]+\\.[0-9]+).*" "\\1" CheckPatch_VERSION ${CheckPatch_VERBOSE_VERSION})
+ string(REGEX REPLACE ".*Version:.([0-9]+\\.[0-9]+).*" "\\1" CheckPatch_VERSION "${CheckPatch_VERBOSE_VERSION}")
endif(CheckPatch_EXECUTABLE)
include(FindPackageHandleStandardArgs)