From 0f79c4aca942466d86b51a39e1fc3e29a2ea217f Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 31 Jul 2003 08:50:21 -0400 Subject: ERR: Attempt to fix wrapping on Windows --- Tests/Wrapping/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index 72a577f..962a7cd 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 -- cgit v0.12