summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-27 21:16:03 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-27 21:16:03 (GMT)
commit2f1052b0e526350a9ce7b6b02b65b94b25d59060 (patch)
tree5cb40a6e771d4546bd19e194d71d8a1b0df28fce /Tests
parent7ddb408621cf39288e0ab12ce8c93ba8132a64a0 (diff)
downloadCMake-2f1052b0e526350a9ce7b6b02b65b94b25d59060.zip
CMake-2f1052b0e526350a9ce7b6b02b65b94b25d59060.tar.gz
CMake-2f1052b0e526350a9ce7b6b02b65b94b25d59060.tar.bz2
Use cmake echo
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Complex/CMakeLists.txt4
-rw-r--r--Tests/ComplexOneConfig/CMakeLists.txt4
-rw-r--r--Tests/ComplexRelativePaths/CMakeLists.txt4
3 files changed, 6 insertions, 6 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt
index 06466da..c9e8f1e 100644
--- a/Tests/Complex/CMakeLists.txt
+++ b/Tests/Complex/CMakeLists.txt
@@ -86,8 +86,8 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
MESSAGE("\nIgnore this message")
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
IF (NOT NO_EXEC_PROGRAM)
- EXEC_PROGRAM("echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
- EXEC_PROGRAM(echo ARGS NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
+ EXEC_PROGRAM("${CMAKE_COMMAND} -E echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
+ EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
ELSE (NOT NO_EXEC_PROGRAM)
MESSAGE("Set this option ON")
ENDIF (NOT NO_EXEC_PROGRAM)
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt
index 06466da..c9e8f1e 100644
--- a/Tests/ComplexOneConfig/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/CMakeLists.txt
@@ -86,8 +86,8 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
MESSAGE("\nIgnore this message")
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
IF (NOT NO_EXEC_PROGRAM)
- EXEC_PROGRAM("echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
- EXEC_PROGRAM(echo ARGS NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
+ EXEC_PROGRAM("${CMAKE_COMMAND} -E echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
+ EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
ELSE (NOT NO_EXEC_PROGRAM)
MESSAGE("Set this option ON")
ENDIF (NOT NO_EXEC_PROGRAM)
diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt
index 06466da..c9e8f1e 100644
--- a/Tests/ComplexRelativePaths/CMakeLists.txt
+++ b/Tests/ComplexRelativePaths/CMakeLists.txt
@@ -86,8 +86,8 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
MESSAGE("\nIgnore this message")
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
IF (NOT NO_EXEC_PROGRAM)
- EXEC_PROGRAM("echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
- EXEC_PROGRAM(echo ARGS NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
+ EXEC_PROGRAM("${CMAKE_COMMAND} -E echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
+ EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
ELSE (NOT NO_EXEC_PROGRAM)
MESSAGE("Set this option ON")
ENDIF (NOT NO_EXEC_PROGRAM)