diff options
-rw-r--r-- | Tests/CustomCommand/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/CustomCommand/check_command_line.c.in | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index f50de52..5d13702 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/Tests/CustomCommand/CMakeLists.txt @@ -228,6 +228,8 @@ ADD_CUSTOM_COMMAND( VERBATIM COMMENT "Checking custom command line escapes" ) +SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_BINARY_DIR}/command_line_check + PROPERTIES SYMBOLIC 1) ADD_CUSTOM_TARGET(do_check_command_line ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/command_line_check COMMAND ${CMAKE_COMMAND} -E echo "Checking custom target command escapes" diff --git a/Tests/CustomCommand/check_command_line.c.in b/Tests/CustomCommand/check_command_line.c.in index 71d5278..72b34c7 100644 --- a/Tests/CustomCommand/check_command_line.c.in +++ b/Tests/CustomCommand/check_command_line.c.in @@ -1,4 +1,5 @@ #include <stdio.h> +#include <string.h> const char* expected_arguments[] = { |