diff options
-rw-r--r-- | Tests/Wrapping/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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 |