ENH: fix test to work with in source build

This commit is contained in:
Bill Hoffman 2006-02-10 10:30:20 -05:00
parent 6cccf0ab30
commit aacd51034a
2 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ PROJECT(TestWorkingDir)
ADD_CUSTOM_COMMAND( ADD_CUSTOM_COMMAND(
OUTPUT "${TestWorkingDir_BINARY_DIR}/working.c" OUTPUT "${TestWorkingDir_BINARY_DIR}/working.c"
COMMAND "${CMAKE_COMMAND}" -E copy ./working.c "${TestWorkingDir_BINARY_DIR}/working.c" COMMAND "${CMAKE_COMMAND}" -E copy ./working.c.in "${TestWorkingDir_BINARY_DIR}/working.c"
WORKING_DIRECTORY "${TestWorkingDir_SOURCE_DIR}" WORKING_DIRECTORY "${TestWorkingDir_SOURCE_DIR}"
COMMENT "custom command" COMMENT "custom command"
) )