diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-02-03 14:51:30 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-02-03 14:51:30 -0500 |
| commit | 83d7a7800ac4a970d618ad125cdbb18e3b29b53e (patch) | |
| tree | cd7c2437595503bcad3b685f0e48c846664870dc /rust/examples/basic_script | |
| parent | a795bb3d088f6fe88451445d123abc107ad1f96c (diff) | |
CMake: consistency with arch/platform plugins
Diffstat (limited to 'rust/examples/basic_script')
| -rw-r--r-- | rust/examples/basic_script/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/examples/basic_script/CMakeLists.txt b/rust/examples/basic_script/CMakeLists.txt index 0aaa1a9c..19754718 100644 --- a/rust/examples/basic_script/CMakeLists.txt +++ b/rust/examples/basic_script/CMakeLists.txt @@ -29,12 +29,12 @@ set(OUTPUT_PATH ${CMAKE_BINARY_DIR}/out/bin/${OUTPUT_FILE}) if(NOT BN_API_BUILD_EXAMPLES) # Out-of-tree build find_path( - BN_API_DIR + BN_API_PATH NAMES binaryninjaapi.h HINTS ../../.. binaryninjaapi REQUIRED ) - add_subdirectory(${BN_API_DIR} api) + add_subdirectory(${BN_API_PATH} api) endif() add_custom_target(test_headless ALL DEPENDS ${OUTPUT_PATH}) |
