From 83d7a7800ac4a970d618ad125cdbb18e3b29b53e Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 3 Feb 2022 14:51:30 -0500 Subject: CMake: consistency with arch/platform plugins --- examples/workflows/objectivec/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/workflows/objectivec') diff --git a/examples/workflows/objectivec/CMakeLists.txt b/examples/workflows/objectivec/CMakeLists.txt index 2dc554b4..c2def99d 100644 --- a/examples/workflows/objectivec/CMakeLists.txt +++ b/examples/workflows/objectivec/CMakeLists.txt @@ -12,12 +12,12 @@ add_library(workflow_objectivec 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_objectivec binaryninjaapi) -- cgit v1.3.1