diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ConfigurationEditor/CMakeLists.txt | 4 | ||||
-rw-r--r-- | plugins/ProfileEditor/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 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() diff --git a/plugins/ProfileEditor/CMakeLists.txt b/plugins/ProfileEditor/CMakeLists.txt index fc7cf96..4f3e026 100644 --- a/plugins/ProfileEditor/CMakeLists.txt +++ b/plugins/ProfileEditor/CMakeLists.txt @@ -26,8 +26,8 @@ target_link_libraries(ProfileEditorPlugin PRIVATE web ) -if(WIN32) - install(TARGETS ProfileEditorPlugin RUNTIME DESTINATION lib/smolbote CONFIGURATIONS Release) +if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") + install(TARGETS ProfileEditorPlugin RUNTIME DESTINATION bin/plugins CONFIGURATIONS Release) else() install(TARGETS ProfileEditorPlugin LIBRARY DESTINATION lib/smolbote CONFIGURATIONS Release) endif() |