summaryrefslogtreecommitdiffstats
path: root/Tests/CustComDepend/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-12-07 16:38:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-12-07 16:38:53 (GMT)
commit013ec3988129761543b8491e5177f3105a09299a (patch)
treedc449512a432d02dbf6996a71db51f1f712dbc0d /Tests/CustComDepend/CMakeLists.txt
parent21d9f9a8f1946b2594e52f4d4591d9e4c460ef12 (diff)
downloadCMake-013ec3988129761543b8491e5177f3105a09299a.zip
CMake-013ec3988129761543b8491e5177f3105a09299a.tar.gz
CMake-013ec3988129761543b8491e5177f3105a09299a.tar.bz2
ENH: fix test for config dir based stuff
Diffstat (limited to 'Tests/CustComDepend/CMakeLists.txt')
-rw-r--r--Tests/CustComDepend/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CustComDepend/CMakeLists.txt b/Tests/CustComDepend/CMakeLists.txt
index 0f2c763..40d8a6b 100644
--- a/Tests/CustComDepend/CMakeLists.txt
+++ b/Tests/CustComDepend/CMakeLists.txt
@@ -4,7 +4,8 @@ set(EXECUTABLE_OUTPUT_PATH ${CustComDepend_BINARY_DIR}/bin)
add_executable(foo foo.cxx)
add_custom_command(
OUTPUT ${CustComDepend_BINARY_DIR}/bar.c
- COMMAND ${CustComDepend_BINARY_DIR}/bin/foo ${CustComDepend_BINARY_DIR}/bar.c
+ COMMAND ${CustComDepend_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/foo
+ ${CustComDepend_BINARY_DIR}/bar.c
DEPENDS ${CustComDepend_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/foo
)