ENH: actually keep the output

This commit is contained in:
Bill Hoffman 2007-02-22 10:31:12 -05:00
parent 13bd83c953
commit abb67cae48
1 changed files with 1 additions and 1 deletions

View File

@ -1016,7 +1016,7 @@ IF(BUILD_TESTING)
EXECUTE_PROCESS(COMMAND ${CMAKE_TEST_MAKEPROGRAM} --version
RESULT_VARIABLE res OUTPUT_VARIABLE out
ERROR_QUIET
OUTPUT_QUIET)
)
IF("${res}" EQUAL 0)
IF("${out}" MATCHES "GNU")
SET(MAKE_IS_GNU 1)