aboutsummaryrefslogtreecommitdiff
path: root/plugins/ProfileEditor
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-09-18 17:11:01 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-09-18 17:11:01 +0200
commitddf4f8cb9c2c3caa668915b222cccca6bd5e0094 (patch)
tree70f25ce68f3a90e929cfb7158b3a0cf45f97056f /plugins/ProfileEditor
parentUpdater: add --dry-run parameter (diff)
downloadsmolbote-ddf4f8cb9c2c3caa668915b222cccca6bd5e0094.tar.xz
Update vendor.cmake
- add some more comments - made plugin include paths more generic
Diffstat (limited to 'plugins/ProfileEditor')
-rw-r--r--plugins/ProfileEditor/CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/ProfileEditor/CMakeLists.txt b/plugins/ProfileEditor/CMakeLists.txt
index 6237785..d22d3d6 100644
--- a/plugins/ProfileEditor/CMakeLists.txt
+++ b/plugins/ProfileEditor/CMakeLists.txt
@@ -23,8 +23,9 @@ add_library(ProfileEditorPlugin SHARED
)
target_include_directories(ProfileEditorPlugin
- PRIVATE ..
- PRIVATE ../../lib/web)
+ PRIVATE ${CMAKE_SOURCE_DIR}/plugins
+ PRIVATE ${CMAKE_SOURCE_DIR}/lib/web
+)
target_link_libraries(ProfileEditorPlugin
PRIVATE Qt5::Widgets
@@ -33,7 +34,7 @@ target_link_libraries(ProfileEditorPlugin
)
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
- install(TARGETS ProfileEditorPlugin RUNTIME DESTINATION ${PLUGIN_DESTINATION} CONFIGURATIONS Release)
+ install(TARGETS ProfileEditorPlugin RUNTIME DESTINATION ${installPath_plugin} CONFIGURATIONS Release)
else()
- install(TARGETS ProfileEditorPlugin LIBRARY DESTINATION ${PLUGIN_DESTINATION} CONFIGURATIONS Release)
+ install(TARGETS ProfileEditorPlugin LIBRARY DESTINATION ${installPath_plugin} CONFIGURATIONS Release)
endif()