mirror of
https://github.com/reactos/CMake.git
synced 2025-02-22 13:01:01 +00:00
Fix executable to be WIN32 on windows
This commit is contained in:
parent
000326237d
commit
1cce2ed6e7
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user