From 380b754e42e2c61a2d9aed26ee5b5c6b2fc0540a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 8 Jun 2018 19:57:10 +0200 Subject: Change install type for plugins to RUNTIME for win32 --- plugins/ProfileEditor/CMakeLists.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'plugins/ProfileEditor') 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() -- cgit v1.2.1