Browse Source

COMP: Fix command line check test implementation for Watcom.

Brad King 19 years ago
parent
commit
bb01a0d6ba
2 changed files with 3 additions and 0 deletions
  1. 2 0
      Tests/CustomCommand/CMakeLists.txt
  2. 1 0
      Tests/CustomCommand/check_command_line.c.in

+ 2 - 0
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"

+ 1 - 0
Tests/CustomCommand/check_command_line.c.in

@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <string.h>
 
 const char* expected_arguments[] =
 {