Fix which string is checked for in the test

GNU Makefiles have an extra line that Visual Studio doesn't output.
This commit is contained in:
Ben Boeckel 2010-09-30 11:39:26 -04:00
parent 220c5dc45a
commit d3a89432fd
1 changed files with 1 additions and 1 deletions

View File

@ -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")