aboutsummaryrefslogtreecommitdiff
path: root/plugins/ConfigurationEditor
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-07-02 14:05:54 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-07-02 14:05:54 +0200
commitdbca8cdb2a3c8e65c814521ba98f50a582194a73 (patch)
treea4054bb9963a9015e45e95e8a054fe0116ffb8ae /plugins/ConfigurationEditor
parentAdd --no-remote option (diff)
downloadsmolbote-dbca8cdb2a3c8e65c814521ba98f50a582194a73.tar.xz
Add configuration/defaults.h
Diffstat (limited to 'plugins/ConfigurationEditor')
-rw-r--r--plugins/ConfigurationEditor/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ConfigurationEditor/CMakeLists.txt b/plugins/ConfigurationEditor/CMakeLists.txt
index 2d97cc5..ed88877 100644
--- a/plugins/ConfigurationEditor/CMakeLists.txt
+++ b/plugins/ConfigurationEditor/CMakeLists.txt
@@ -23,8 +23,8 @@ target_link_libraries(ConfigurationEditorPlugin
PRIVATE configuration
)
-if(WIN32)
- install(TARGETS ConfigurationEditorPlugin RUNTIME DESTINATION lib/smolbote CONFIGURATIONS Release)
+if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
+ install(TARGETS ConfigurationEditorPlugin RUNTIME DESTINATION bin/plugins CONFIGURATIONS Release)
else()
install(TARGETS ConfigurationEditorPlugin LIBRARY DESTINATION lib/smolbote CONFIGURATIONS Release)
endif()