From d3a89432fd5d35a33ee37bca78bbc2cafa113c42 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 30 Sep 2010 11:39:26 -0400 Subject: Fix which string is checked for in the test GNU Makefiles have an extra line that Visual Studio doesn't output. --- Tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 4de9ac3..c056e86 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -155,7 +155,7 @@ IF(BUILD_TESTING) ADD_TEST_MACRO(PolicyScope PolicyScope) ADD_TEST_MACRO(EmptyLibrary EmptyLibrary) SET_TESTS_PROPERTIES(EmptyLibrary PROPERTIES - PASS_REGULAR_EXPRESSION "CMake Error: Cannot determine link language for target \"test\"") + PASS_REGULAR_EXPRESSION "CMake Error: CMake can not determine linker language for target:test") ADD_TEST_MACRO(CrossCompile CrossCompile) SET_TESTS_PROPERTIES(CrossCompile PROPERTIES PASS_REGULAR_EXPRESSION "TRY_RUN.. invoked in cross-compiling mode") -- cgit v0.12