Add GUI resource files on Windows

This commit is contained in:
Andrew Nelless 2017-02-09 20:05:36 +00:00
parent 71f24c0664
commit ed29889f25
1 changed files with 5 additions and 0 deletions

View File

@ -9,9 +9,14 @@ set (CMAKE_INCLUDE_CURRENT_DIR ON)
file (GLOB LEGACY_GUI_SOURCE_FILES src/*.cpp src/*.h) file (GLOB LEGACY_GUI_SOURCE_FILES src/*.cpp src/*.h)
file (GLOB LEGACY_GUI_UI_FILES src/*.ui) file (GLOB LEGACY_GUI_UI_FILES src/*.ui)
if (WIN32)
set (LEGACY_GUI_RC_FILES res/win/Synergy.rc)
endif()
add_executable (synergy WIN32 add_executable (synergy WIN32
${LEGACY_GUI_SOURCE_FILES} ${LEGACY_GUI_SOURCE_FILES}
${LEGACY_GUI_UI_FILES} ${LEGACY_GUI_UI_FILES}
${LEGACY_GUI_RC_FILES}
res/Synergy.qrc res/Synergy.qrc
) )