Commit 4918ce65 authored by Ken Martin's avatar Ken Martin
Browse files

Remove bogus exec_program

parent b013813f
......@@ -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")
......
......@@ -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")
......
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment