diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index 72a577f2a..962a7cdcf 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