aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-08 19:57:10 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-08 19:57:10 +0200
commit380b754e42e2c61a2d9aed26ee5b5c6b2fc0540a (patch)
treec97e2e29dba971922e528fc7b823658109d21b3b
parentBetter profile loading (diff)
downloadsmolbote-380b754e42e2c61a2d9aed26ee5b5c6b2fc0540a.tar.xz
Change install type for plugins to RUNTIME for win32
-rw-r--r--plugins/ProfileEditor/CMakeLists.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/ProfileEditor/CMakeLists.txt b/plugins/ProfileEditor/CMakeLists.txt
index e5654ff..7ded842 100644
--- a/plugins/ProfileEditor/CMakeLists.txt
+++ b/plugins/ProfileEditor/CMakeLists.txt
@@ -21,7 +21,12 @@ target_include_directories(ProfileEditorPlugin
PRIVATE ../../lib/web)
target_link_libraries(ProfileEditorPlugin
- PRIVATE Qt5::Widgets
- PRIVATE Qt5::WebEngineWidgets)
+ PRIVATE Qt5::Widgets
+ PRIVATE Qt5::WebEngineWidgets
+)
-install(TARGETS ProfileEditorPlugin LIBRARY DESTINATION lib/smolbote CONFIGURATIONS Release)
+if(WIN32)
+ install(TARGETS ProfileEditorPlugin RUNTIME DESTINATION lib/smolbote CONFIGURATIONS Release)
+else()
+ install(TARGETS ProfileEditorPlugin LIBRARY DESTINATION lib/smolbote CONFIGURATIONS Release)
+endif()