summaryrefslogtreecommitdiff
path: root/view/sharedcache
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache')
-rw-r--r--view/sharedcache/CMakeLists.txt4
-rw-r--r--view/sharedcache/ui/CMakeLists.txt2
2 files changed, 2 insertions, 4 deletions
diff --git a/view/sharedcache/CMakeLists.txt b/view/sharedcache/CMakeLists.txt
index b49f8df7..eb074122 100644
--- a/view/sharedcache/CMakeLists.txt
+++ b/view/sharedcache/CMakeLists.txt
@@ -48,6 +48,7 @@ if(BN_INTERNAL_BUILD)
set_target_properties(sharedcache PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR}
RUNTIME_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR})
+ plugin_rpath(sharedcache)
else()
set_target_properties(sharedcache PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins
@@ -68,9 +69,6 @@ target_include_directories(sharedcache PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMA
target_link_libraries(sharedcache PUBLIC sharedcacheapi binaryninjaapi sharedcachecore sharedcacheworkflow)
-plugin_rpath(sharedcache)
-
-
set(COMPILE_DEFS "")
if (HARD_FAIL_MODE)
diff --git a/view/sharedcache/ui/CMakeLists.txt b/view/sharedcache/ui/CMakeLists.txt
index 0de89f60..a0450722 100644
--- a/view/sharedcache/ui/CMakeLists.txt
+++ b/view/sharedcache/ui/CMakeLists.txt
@@ -45,6 +45,7 @@ if(BN_INTERNAL_BUILD)
set_target_properties(sharedcacheui PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR}
RUNTIME_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR})
+ ui_plugin_rpath(sharedcacheui)
else()
set_target_properties(sharedcacheui PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins
@@ -94,5 +95,4 @@ target_include_directories(sharedcacheui PRIVATE ${INCLUDES})
target_link_libraries(sharedcacheui sharedcacheapi sharedcache binaryninjaui Qt6::Core Qt6::Gui Qt6::Widgets)
-ui_plugin_rpath(sharedcacheui)