Skip to content
Snippets Groups Projects
Commit 62d75f50 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Do a Windows build if GDI or SDL is enabled.

Kinda hacky to do it here.
parent 4c5d2dd8
No related branches found
No related tags found
No related merge requests found
Pipeline #6800 failed
......@@ -65,7 +65,13 @@ if(WIN32)
list(APPEND SOURCE syncterm.rc)
endif()
add_executable(syncterm MACOSX_BUNDLE ${SOURCE})
if(WITHOUT_GDI AND WITHOUT_SDL)
set(WIN_MAIN_TYPE "")
else()
set(WIN_MAIN_TYPE WIN32)
endif()
add_executable(syncterm MACOSX_BUNDLE ${WIN_MAIN_TYPE} ${SOURCE})
set_target_properties(syncterm PROPERTIES
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment