mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Make CMake icon work on Windows
This commit is contained in:
parent
1ee42bd599
commit
d6abfcd6aa
|
@ -88,7 +88,11 @@ set(QSINGLEAPP_SOURCE_FILES
|
|||
thirdparty/qtsingleapplication/src/qtsingleapplication.h
|
||||
)
|
||||
|
||||
qt_add_executable(${GOLDENDICT} MANUAL_FINALIZATION)
|
||||
if(WIN32)
|
||||
qt_add_executable(${GOLDENDICT} WIN32 MANUAL_FINALIZATION icons/programicon.rc)
|
||||
else()
|
||||
qt_add_executable(${GOLDENDICT} MANUAL_FINALIZATION)
|
||||
endif()
|
||||
|
||||
target_sources(${GOLDENDICT} PRIVATE
|
||||
icons/flags.qrc
|
||||
|
|
Loading…
Reference in a new issue