ENH: fix test to work with in source build
This commit is contained in:
parent
6cccf0ab30
commit
aacd51034a
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue