diff options
| author | WeiN76LQh <WeiN76LQh@github.com> | 2025-02-26 22:18:37 +0000 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-02-26 18:24:14 -0500 |
| commit | 4608523101738492124069765324141966372229 (patch) | |
| tree | 4699ba73bd5fd95a767c14a58e18c0c08a910fcd /view/sharedcache | |
| parent | f429192d36016efc0941f4a0a422065ef3500226 (diff) | |
[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.
Diffstat (limited to 'view/sharedcache')
| -rw-r--r-- | view/sharedcache/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | view/sharedcache/ui/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/view/sharedcache/CMakeLists.txt b/view/sharedcache/CMakeLists.txt index 8620975c..cd40fa15 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 88a68375..c8d592c6 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 |
