summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2026-06-04 11:53:54 -0400
committerGlenn Smith <glenn@vector35.com>2026-06-04 12:02:09 -0400
commit5040858745478680624878361021717952745161 (patch)
tree6d7e0c18e690046063c20348623886356373d8a1 /CMakeLists.txt
parent75c344dcea30b1beb5680e46a7557c26fd7286e4 (diff)
Move FindBinaryNinjaCore.cmake's error message to api
It was never getting printed due to the stub generation code
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 a8dd693b..9834463c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,7 +60,7 @@ elseif(BN_ALLOW_STUBS)
add_dependencies(binaryninjaapi binaryninjacore_stubs)
target_link_libraries(binaryninjaapi PUBLIC binaryninjacore_stubs)
else()
- message(FATAL_ERROR "No Binary Ninja installation was found and stub generation is disabled")
+ message(FATAL_ERROR "Could NOT find Binary Ninja installation. Please configure with -DBN_INSTALL_DIR=<path to Binary Ninja>, set the BN_INSTALL_DIR environment variable, or enable stub generation with -DBN_ALLOW_STUBS=ON")
endif()
if(BN_REF_COUNT_DEBUG)