summaryrefslogtreecommitdiff
path: root/examples/workflows/tailcall
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/workflows/tailcall
parenta795bb3d088f6fe88451445d123abc107ad1f96c (diff)
CMake: consistency with arch/platform plugins
Diffstat (limited to 'examples/workflows/tailcall')
-rw-r--r--examples/workflows/tailcall/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/workflows/tailcall/CMakeLists.txt b/examples/workflows/tailcall/CMakeLists.txt
index f02052b6..37b4d502 100644
--- a/examples/workflows/tailcall/CMakeLists.txt
+++ b/examples/workflows/tailcall/CMakeLists.txt
@@ -12,12 +12,12 @@ add_library(workflow_tailcall SHARED ${SOURCES})
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(workflow_tailcall binaryninjaapi)