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