Remove bogus exec_program
This commit is contained in:
parent
b013813f15
commit
4918ce6593
|
@ -86,7 +86,6 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
|
||||||
MESSAGE("\nIgnore this message")
|
MESSAGE("\nIgnore this message")
|
||||||
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
||||||
IF (NOT NO_EXEC_PROGRAM)
|
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}")
|
EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||||
ELSE (NOT NO_EXEC_PROGRAM)
|
ELSE (NOT NO_EXEC_PROGRAM)
|
||||||
MESSAGE("Set this option ON")
|
MESSAGE("Set this option ON")
|
||||||
|
|
|
@ -86,7 +86,6 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
|
||||||
MESSAGE("\nIgnore this message")
|
MESSAGE("\nIgnore this message")
|
||||||
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
||||||
IF (NOT NO_EXEC_PROGRAM)
|
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}")
|
EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||||
ELSE (NOT NO_EXEC_PROGRAM)
|
ELSE (NOT NO_EXEC_PROGRAM)
|
||||||
MESSAGE("Set this option ON")
|
MESSAGE("Set this option ON")
|
||||||
|
|
|
@ -86,7 +86,6 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
|
||||||
MESSAGE("\nIgnore this message")
|
MESSAGE("\nIgnore this message")
|
||||||
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
||||||
IF (NOT NO_EXEC_PROGRAM)
|
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}")
|
EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||||
ELSE (NOT NO_EXEC_PROGRAM)
|
ELSE (NOT NO_EXEC_PROGRAM)
|
||||||
MESSAGE("Set this option ON")
|
MESSAGE("Set this option ON")
|
||||||
|
|
Loading…
Reference in New Issue