From 8acb17124ff18a2a061544e9cfe246c78a3fb020 Mon Sep 17 00:00:00 2001
From: dpuzyrkov <dpuzyrkov@termt.com>
Date: Mon, 23 May 2022 21:21:46 +0300
Subject: [PATCH] [*] guards for mdbx added.

Former-commit-id: 41ca788c8f5673633c2bd68285bfad4c47df2408
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 20e766ce89..e0a0378308 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -100,8 +100,9 @@ endif()
 add_subdirectory(dap-sdk)
 add_subdirectory(3rdparty/monero_crypto)
 add_subdirectory(3rdparty/cuttdb)
+if (BUILD_WITH_GDB_DRIVER_MDBX)
 add_subdirectory(3rdparty/libmdbx)
-
+endif()
 if(DAPSDK_MODULES MATCHES "ssl-support")
     add_subdirectory(3rdparty/wolfssl)
 endif()
-- 
GitLab