mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
Fix executable to be WIN32 on windows
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user