aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-14 20:45:21 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-14 20:45:21 +0800
commitc12df3744f04716e88e905888beeaaa4f331d687 (patch)
treecab30e38d8fc70065dc873483a69670754e300e5 /qmidiplayer-desktop/CMakeLists.txt
parentb4c4cefb706f9c43a54fecb18cb8ee50f0f0e19a (diff)
downloadQMidiPlayer-c12df3744f04716e88e905888beeaaa4f331d687.tar.xz
Windows is such a brilliant operating system.
Diffstat (limited to 'qmidiplayer-desktop/CMakeLists.txt')
-rw-r--r--qmidiplayer-desktop/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/CMakeLists.txt b/qmidiplayer-desktop/CMakeLists.txt
index a9b6bf1..7064e28 100644
--- a/qmidiplayer-desktop/CMakeLists.txt
+++ b/qmidiplayer-desktop/CMakeLists.txt
@@ -43,6 +43,13 @@ set(qmpdesktop_SOURCES
resources.qrc
)
+if(WIN32)
+ set(qmpdesktop_SOURCES
+ ${qmpdesktop_SOURCES}
+ qmidiplayer.rc
+ )
+endif(WIN32)
+
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)