diff options
Diffstat (limited to 'Source/WXDialog')
-rw-r--r-- | Source/WXDialog/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/WXDialog/CMakeLists.txt b/Source/WXDialog/CMakeLists.txt index 6982121..962e274 100644 --- a/Source/WXDialog/CMakeLists.txt +++ b/Source/WXDialog/CMakeLists.txt @@ -19,7 +19,11 @@ IF ( CMAKE_WX_CAN_COMPILE ) INCLUDE_DIRECTORIES(${CMake_SOURCE_DIR}/Source) - ADD_EXECUTABLE(wxCMakeSetup ${WX_SRCS}) + IF(WIN32) + SET(WIN32_EXECUTABLE WIN32) + ENDIF(WIN32) + + ADD_EXECUTABLE(wxCMakeSetup ${WIN32_EXECUTABLE} ${WX_SRCS}) TARGET_LINK_LIBRARIES(wxCMakeSetup ${WXWINDOWS_LIBRARY}) TARGET_LINK_LIBRARIES(wxCMakeSetup CMakeLib) |