From dbca8cdb2a3c8e65c814521ba98f50a582194a73 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 2 Jul 2018 14:05:54 +0200 Subject: Add configuration/defaults.h --- plugins/ConfigurationEditor/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ConfigurationEditor') 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() -- cgit v1.2.1