Skip to content

Commit 4608523

Browse files
WeiN76LQhCouleeApps
authored andcommitted
[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.
1 parent f429192 commit 4608523

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

view/sharedcache/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ else()
5252
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins
5353
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins
5454
)
55+
bn_install_plugin(sharedcache)
5556
endif()
5657

5758
set_target_properties(sharedcache PROPERTIES

view/sharedcache/ui/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ else()
5050
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins
5151
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/plugins
5252
)
53+
bn_install_plugin(sharedcacheui)
5354
endif()
5455

5556
set_target_properties(sharedcacheui PROPERTIES

0 commit comments

Comments
 (0)