diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2014-09-29 19:28:10 +0000 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2014-09-29 19:28:10 +0000 |
commit | e404841235cf9d995f59e9b629ebf111f9271e0b (patch) | |
tree | 7e8d635f3a4074cfd867b6c85e6453a2b17faa1e /cmake | |
parent | 15c946338ff8c9ada9e2daa1044121115d45a0f6 (diff) |
make sure that regex does not match cmake
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/EigenConfigureTesting.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/EigenConfigureTesting.cmake b/cmake/EigenConfigureTesting.cmake index 1f19e81a9..737f77232 100644 --- a/cmake/EigenConfigureTesting.cmake +++ b/cmake/EigenConfigureTesting.cmake @@ -26,7 +26,7 @@ file(READ "${CMAKE_CURRENT_BINARY_DIR}/DartConfiguration.tcl" EIGEN_DART_CONFIG # try to grab the default flags string(REGEX MATCH "MakeCommand:.*-- (.*)\nDefaultCTestConfigurationType" EIGEN_DUMMY ${EIGEN_DART_CONFIG_FILE}) if(NOT CMAKE_MATCH_1) -string(REGEX MATCH "MakeCommand:.*make (.*)\nDefaultCTestConfigurationType" EIGEN_DUMMY ${EIGEN_DART_CONFIG_FILE}) +string(REGEX MATCH "MakeCommand:.*[^c]make (.*)\nDefaultCTestConfigurationType" EIGEN_DUMMY ${EIGEN_DART_CONFIG_FILE}) endif() string(REGEX REPLACE "MakeCommand:.*DefaultCTestConfigurationType" "MakeCommand: ${CMAKE_COMMAND} --build . --target buildtests --config \"\${CTEST_CONFIGURATION_TYPE}\" -- ${CMAKE_MATCH_1} ${EIGEN_TEST_BUILD_FLAGS}\nDefaultCTestConfigurationType" EIGEN_DART_CONFIG_FILE2 ${EIGEN_DART_CONFIG_FILE}) |