summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-01 14:36:54 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-01 14:36:54 (GMT)
commit65761dee552eed39ba2b93d210dbc257f9a2ce50 (patch)
treeb0a936b86444892f945bafe0c2285fe51a53d4ec
parent82fcaebe2804f88cfee258ab10003c34a9cee9da (diff)
downloadCMake-65761dee552eed39ba2b93d210dbc257f9a2ce50.zip
CMake-65761dee552eed39ba2b93d210dbc257f9a2ce50.tar.gz
CMake-65761dee552eed39ba2b93d210dbc257f9a2ce50.tar.bz2
BUG: Fix commit 1.41 of Tests/CMakeLists.txt to place fake target before --version flag instead of after.
-rw-r--r--Tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 8314fbd..f6d88e4 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -572,7 +572,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
SET(MAKE_IS_GNU )
IF(${CMAKE_TEST_MAKEPROGRAM} MATCHES make)
EXEC_PROGRAM(
- ${CMAKE_TEST_MAKEPROGRAM} ARGS --version no_such_target
+ ${CMAKE_TEST_MAKEPROGRAM} ARGS no_such_target --version
RETURN_VALUE res OUTPUT_VARIABLE out
)
IF("${res}" EQUAL 0)