From 3252ebb4ae52285bc717f88e04da18985b561bb6 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Wed, 31 Aug 2022 16:02:11 -0400 Subject: Turn off building the Rust API in the API CMake by default --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f7deff70..05d2a0c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,7 +85,9 @@ function(bn_install_plugin target) endif() endfunction() -add_subdirectory(rust) +if(RUST_API) + add_subdirectory(rust) +endif() if(BN_API_BUILD_EXAMPLES) add_subdirectory(examples) -- cgit v1.3.1