summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2021-06-29 11:35:06 -0400
committerKyleMiles <krm504@nyu.edu>2021-06-29 14:00:21 -0400
commit70be4645d30c8017524ae2b444ac7e0c0a8448a6 (patch)
tree3bdad671acaa346b2c893448fba7c4908363cfbd /CMakeLists.txt
parentf388a25624c5860c45f6e002577a2c283002ce47 (diff)
Rust API : No longer update to latest cargo nightly; Add link args back to -sys to reduce build errors
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b575f864..dfc4797d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,8 @@ project(binaryninjaapi)
option(BN_API_BUILD_EXAMPLES "Builds example plugins" OFF)
+set(CARGO_API_VERSION nightly-2021-06-27)
+
if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
if (MSVC)
message(FATAL_ERROR "Binary Ninja is 64-bit only (try -G \"${CMAKE_GENERATOR} Win64\")")