From 4608523101738492124069765324141966372229 Mon Sep 17 00:00:00 2001 From: WeiN76LQh Date: Wed, 26 Feb 2025 22:18:37 +0000 Subject: [PATCH] [SharedCache] Add the ability to install the plugin using CMake Using `-t install` currently doesn't install the plugin into the Binary Ninja user plugin directory. This commit fixes that. --- view/sharedcache/CMakeLists.txt | 1 + view/sharedcache/ui/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/view/sharedcache/CMakeLists.txt b/view/sharedcache/CMakeLists.txt index 8620975c81..cd40fa15d9 100644 --- a/view/sharedcache/CMakeLists.txt +++ b/view/sharedcache/CMakeLists.txt @@ -52,6 +52,7 @@ else() LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins ) + bn_install_plugin(sharedcache) endif() set_target_properties(sharedcache PROPERTIES diff --git a/view/sharedcache/ui/CMakeLists.txt b/view/sharedcache/ui/CMakeLists.txt index 88a68375d3..c8d592c6c9 100644 --- a/view/sharedcache/ui/CMakeLists.txt +++ b/view/sharedcache/ui/CMakeLists.txt @@ -50,6 +50,7 @@ else() LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins ) + bn_install_plugin(sharedcacheui) endif() set_target_properties(sharedcacheui PROPERTIES