summaryrefslogtreecommitdiff
path: root/examples/print_syscalls
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-02-03 14:51:30 -0500
committerGlenn Smith <glenn@vector35.com>2022-02-03 14:51:30 -0500
commit83d7a7800ac4a970d618ad125cdbb18e3b29b53e (patch)
treecd7c2437595503bcad3b685f0e48c846664870dc /examples/print_syscalls
parenta795bb3d088f6fe88451445d123abc107ad1f96c (diff)
CMake: consistency with arch/platform plugins
Diffstat (limited to 'examples/print_syscalls')
-rw-r--r--examples/print_syscalls/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/print_syscalls/CMakeLists.txt b/examples/print_syscalls/CMakeLists.txt
index e4b4ec90..b3f765da 100644
--- a/examples/print_syscalls/CMakeLists.txt
+++ b/examples/print_syscalls/CMakeLists.txt
@@ -8,12 +8,12 @@ add_executable(${PROJECT_NAME}
if(NOT BN_API_BUILD_EXAMPLES AND NOT BN_INTERNAL_BUILD)
# Out-of-tree build
find_path(
- BN_API_DIR
+ BN_API_PATH
NAMES binaryninjaapi.h
- HINTS ../.. binaryninjaapi $ENV{BN_API_DIR}
+ HINTS ../.. binaryninjaapi $ENV{BN_API_PATH}
REQUIRED
)
- add_subdirectory(${BN_API_DIR} api)
+ add_subdirectory(${BN_API_PATH} api)
endif()
target_link_libraries(${PROJECT_NAME}