summaryrefslogtreecommitdiff
path: root/examples/workflows
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-02-02 20:17:41 -0500
committerGlenn Smith <glenn@vector35.com>2022-02-02 20:17:41 -0500
commit523f8d38a9d8eb1f7ea45c491e7332da40b48b98 (patch)
tree38faf426cc228beec482ce0a87280d1f489467df /examples/workflows
parentb8af211f9a3647687c7e45c0fd04b0768df87ffe (diff)
Fix examples including binaryninjaapi twice on internal builds
Diffstat (limited to 'examples/workflows')
-rw-r--r--examples/workflows/inliner/CMakeLists.txt2
-rw-r--r--examples/workflows/objectivec/CMakeLists.txt2
-rw-r--r--examples/workflows/tailcall/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/workflows/inliner/CMakeLists.txt b/examples/workflows/inliner/CMakeLists.txt
index 0a271d4b..417b9458 100644
--- a/examples/workflows/inliner/CMakeLists.txt
+++ b/examples/workflows/inliner/CMakeLists.txt
@@ -9,7 +9,7 @@ file(GLOB SOURCES
add_library(workflow_inliner SHARED ${SOURCES})
-if(NOT BN_API_BUILD_EXAMPLES)
+if(NOT BN_API_BUILD_EXAMPLES AND NOT BN_INTERNAL_BUILD)
# Out-of-tree build
find_path(
BN_API_DIR
diff --git a/examples/workflows/objectivec/CMakeLists.txt b/examples/workflows/objectivec/CMakeLists.txt
index a4c0198a..2dc554b4 100644
--- a/examples/workflows/objectivec/CMakeLists.txt
+++ b/examples/workflows/objectivec/CMakeLists.txt
@@ -9,7 +9,7 @@ file(GLOB SOURCES
add_library(workflow_objectivec SHARED ${SOURCES})
-if(NOT BN_API_BUILD_EXAMPLES)
+if(NOT BN_API_BUILD_EXAMPLES AND NOT BN_INTERNAL_BUILD)
# Out-of-tree build
find_path(
BN_API_DIR
diff --git a/examples/workflows/tailcall/CMakeLists.txt b/examples/workflows/tailcall/CMakeLists.txt
index 6d7e5eb0..f02052b6 100644
--- a/examples/workflows/tailcall/CMakeLists.txt
+++ b/examples/workflows/tailcall/CMakeLists.txt
@@ -9,7 +9,7 @@ file(GLOB SOURCES
add_library(workflow_tailcall SHARED ${SOURCES})
-if(NOT BN_API_BUILD_EXAMPLES)
+if(NOT BN_API_BUILD_EXAMPLES AND NOT BN_INTERNAL_BUILD)
# Out-of-tree build
find_path(
BN_API_DIR