summaryrefslogtreecommitdiff
path: root/examples/bin-info
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/bin-info
parentb8af211f9a3647687c7e45c0fd04b0768df87ffe (diff)
Fix examples including binaryninjaapi twice on internal builds
Diffstat (limited to 'examples/bin-info')
-rw-r--r--examples/bin-info/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bin-info/CMakeLists.txt b/examples/bin-info/CMakeLists.txt
index 4f0815ac..c8fd5082 100644
--- a/examples/bin-info/CMakeLists.txt
+++ b/examples/bin-info/CMakeLists.txt
@@ -5,7 +5,7 @@ project(bin-info CXX C)
add_executable(${PROJECT_NAME}
src/bin-info.cpp)
-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