summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2021-08-03 09:53:06 +0800
committerXusheng <xusheng@vector35.com>2021-08-03 09:55:25 +0800
commit9d711397052b185a03a233a557cad3a0947a4139 (patch)
treec1f8ab80ca12fa44b3ac919a0e448a4e6e0a501a /CMakeLists.txt
parent369c74965b583e1c1e64e79c696c1311d24cf14c (diff)
Fix personal build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index baf574f9..bcc2bab1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,7 +54,7 @@ target_include_directories(binaryninjaapi
PUBLIC ${PROJECT_SOURCE_DIR})
# We only need to find the core and UI when we also build the examples
-if(BN_API_BUILD_EXAMPLES)
+if(BN_API_BUILD_EXAMPLES OR BN_INTERNAL_BUILD)
if((NOT BN_CORE_LIBRARY) AND (NOT BN_INTERNAL_BUILD))
find_library(BN_CORE_LIBRARY
NAMES binaryninjacore libbinaryninjacore.so.1