From: CryptoManiac Date: Fri, 24 Dec 2021 08:07:39 +0000 (+0300) Subject: Tweak berkeley db detection X-Git-Tag: nvc-v0.5.9~60 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=f564aa0dbcc707bc35ea47cef95de0080c1a97ff;hp=74c5026796217f4d51b42aeb727cb04b4f5ce807 Tweak berkeley db detection --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2702609..ea528b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 3.4.1) ## ## mkdir build && cd build ## -## cmake -DBerkeleyDB_ROOT:STRING=/opt/homebrew/Cellar/berkeley-db@4/4.8.30 -DUSE_LEVELDB=1 -DQt5_DIR:STRING=/opt/homebrew/Cellar/qt@5/5.15.2_1/lib/cmake/Qt5 .. -## cmake -DBerkeleyDB_INC:STRING=/usr/include -DBerkeleyDB_LIBS:STRING=/usr/lib/aarch64-linux-gnu -DUSE_LEVELDB=1 .. +## cmake -DBerkeleyDB_ROOT:STRING=/opt/homebrew/Cellar/berkeley-db@4/4.8.30 -DQt5_DIR:STRING=/opt/homebrew/Cellar/qt@5/5.15.2_1/lib/cmake/Qt5 -DUSE_LEVELDB=1 .. +## cmake -DUSE_LEVELDB=1 .. ## project(novacoin-qt VERSION 0.5.9 LANGUAGES C CXX) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dfe1ace..7979322 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 3.4.1) ## ## mkdir build && cd build ## -## cmake -DBerkeleyDB_ROOT:STRING=/opt/homebrew/Cellar/berkeley-db@4/4.8.30 .. -## cmake -DBerkeleyDB_INC:STRING=/usr/include -DBerkeleyDB_LIBS:STRING=/usr/lib/aarch64-linux-gnu -DUSE_LEVELDB=1 .. +## cmake -DBerkeleyDB_ROOT:STRING=/opt/homebrew/Cellar/berkeley-db@4/4.8.30 -DUSE_LEVELDB=1 .. +## cmake -DUSE_LEVELDB=1 .. ## project(novacoind VERSION 0.5.9 LANGUAGES C CXX)