summaryrefslogtreecommitdiff
path: root/view/kernelcache
diff options
context:
space:
mode:
Diffstat (limited to 'view/kernelcache')
-rw-r--r--view/kernelcache/CMakeLists.txt2
-rw-r--r--view/kernelcache/ui/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/kernelcache/CMakeLists.txt b/view/kernelcache/CMakeLists.txt
index aa52d2a3..56e61e88 100644
--- a/view/kernelcache/CMakeLists.txt
+++ b/view/kernelcache/CMakeLists.txt
@@ -47,6 +47,7 @@ if(BN_INTERNAL_BUILD)
set_target_properties(kernelcache PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR}
RUNTIME_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR})
+ plugin_rpath(kernelcache)
else()
set_target_properties(kernelcache PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins
@@ -66,7 +67,6 @@ target_include_directories(kernelcache PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMA
target_link_libraries(kernelcache PUBLIC kernelcacheapi binaryninjaapi kernelcachecore) # kernelcacheworkflow)
-plugin_rpath(kernelcache)
set(COMPILE_DEFS "")
diff --git a/view/kernelcache/ui/CMakeLists.txt b/view/kernelcache/ui/CMakeLists.txt
index cac2010e..a06f2cfc 100644
--- a/view/kernelcache/ui/CMakeLists.txt
+++ b/view/kernelcache/ui/CMakeLists.txt
@@ -45,6 +45,7 @@ if(BN_INTERNAL_BUILD)
set_target_properties(kernelcacheui PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR}
RUNTIME_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR})
+ ui_plugin_rpath(kernelcacheui)
else()
set_target_properties(kernelcacheui PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins
@@ -93,5 +94,4 @@ target_include_directories(kernelcacheui PRIVATE ${INCLUDES})
target_link_libraries(kernelcacheui kernelcacheapi kernelcache binaryninjaui Qt6::Core Qt6::Gui Qt6::Widgets)
-ui_plugin_rpath(kernelcacheui)