summaryrefslogtreecommitdiffstats
path: root/Modules/FindArmadillo.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-08-20 19:42:25 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-08-20 19:42:25 (GMT)
commit19e210af90d943548e7f07759030a2dd2cc8a2a4 (patch)
treed7f195f093ea752a6ba348982d9f285858e0d5c5 /Modules/FindArmadillo.cmake
parent0afaedfb4a500e6acb215367a1b37c22c2ff3c37 (diff)
parent637207e62af7e6104dd8328c182d18870f1b155b (diff)
downloadCMake-19e210af90d943548e7f07759030a2dd2cc8a2a4.zip
CMake-19e210af90d943548e7f07759030a2dd2cc8a2a4.tar.gz
CMake-19e210af90d943548e7f07759030a2dd2cc8a2a4.tar.bz2
Merge topic 'no-regex-escape-space'
637207e do not escape spaces in regular expressions
Diffstat (limited to 'Modules/FindArmadillo.cmake')
-rw-r--r--Modules/FindArmadillo.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindArmadillo.cmake b/Modules/FindArmadillo.cmake
index aad22d2..ebbdb0a 100644
--- a/Modules/FindArmadillo.cmake
+++ b/Modules/FindArmadillo.cmake
@@ -64,7 +64,7 @@ if(ARMADILLO_INCLUDE_DIR)
string(REGEX REPLACE ".*#define ARMA_VERSION_PATCH ([0-9]+).*" "\\1" ARMADILLO_VERSION_PATCH "${_armadillo_HEADER_CONTENTS}")
# WARNING: The number of spaces before the version name is not one.
- string(REGEX REPLACE ".*#define ARMA_VERSION_NAME\ +\"([0-9a-zA-Z\ _-]+)\".*" "\\1" ARMADILLO_VERSION_NAME "${_armadillo_HEADER_CONTENTS}")
+ string(REGEX REPLACE ".*#define ARMA_VERSION_NAME +\"([0-9a-zA-Z _-]+)\".*" "\\1" ARMADILLO_VERSION_NAME "${_armadillo_HEADER_CONTENTS}")
endif()