From 4918ce659393e799cc428ceb3e13581490fe8812 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 1 Oct 2002 12:59:18 -0400 Subject: [PATCH] Remove bogus exec_program --- Tests/Complex/CMakeLists.txt | 1 - Tests/ComplexOneConfig/CMakeLists.txt | 1 - Tests/ComplexRelativePaths/CMakeLists.txt | 1 - 3 files changed, 3 deletions(-) diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index c9e8f1eb4..849ec3c53 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -86,7 +86,6 @@ 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("${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") diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index c9e8f1eb4..849ec3c53 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -86,7 +86,6 @@ 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("${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") diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index c9e8f1eb4..849ec3c53 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -86,7 +86,6 @@ 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("${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")