summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-31 08:50:21 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-31 08:50:21 -0400
commit0f79c4aca942466d86b51a39e1fc3e29a2ea217f (patch)
tree8aacf68d63b4728369924ee5140906932ac7d27d /Tests
parent4b5a63d8a2e13684170c7da8d0f7f0c1b4bd2a86 (diff)
downloadcmake-0f79c4aca942466d86b51a39e1fc3e29a2ea217f.tar.gz
ERR: Attempt to fix wrapping on Windows
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Wrapping/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt
index 72a577f2ab..962a7cdcf7 100644
--- a/Tests/Wrapping/CMakeLists.txt
+++ b/Tests/Wrapping/CMakeLists.txt
@@ -29,7 +29,10 @@ ENDIF (EXECUTABLE_OUTPUT_PATH)
ADD_EXECUTABLE (wrapping wrapping.cxx)
ADD_EXECUTABLE (Wrap Wrap.c)
-SET(WRAP ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/Wrap)
+IF(WIN32)
+ SET(EXE_EXT ".exe")
+ENDIF(WIN32)
+SET(WRAP ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/Wrap${EXE_EXT})
#
# Test VTK wrappers