Add GUI resource files on Windows
This commit is contained in:
parent
71f24c0664
commit
ed29889f25
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue