aboutsummaryrefslogtreecommitdiff
path: root/visualization/renderer/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Gary Wang <wzc782970009@gmail.com> 2020-10-15 09:55:51 +0800
committerGravatar Gary Wang <wzc782970009@gmail.com> 2020-11-10 18:59:21 +0800
commit524aeee63007fcc40902f807475b49c814f46213 (patch)
tree8ad979c30aa0d3f67c0f4418a4d63e58c3fe5246 /visualization/renderer/CMakeLists.txt
parentb17acb9a708eb6f93d4deec70ce9b6d9657676be (diff)
downloadQMidiPlayer-524aeee63007fcc40902f807475b49c814f46213.tar.xz
fix: missing link libraries path for windows build
Diffstat (limited to 'visualization/renderer/CMakeLists.txt')
-rw-r--r--visualization/renderer/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/visualization/renderer/CMakeLists.txt b/visualization/renderer/CMakeLists.txt
index 90a4704..bbd3daf 100644
--- a/visualization/renderer/CMakeLists.txt
+++ b/visualization/renderer/CMakeLists.txt
@@ -23,4 +23,8 @@ target_link_libraries(qmpvisrender
${CMAKE_DL_LIBS}
)
+if(WIN32)
+ target_link_libraries(qmpvisrender winmm)
+endif()
+
install(TARGETS qmpvisrender)