git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
986c3e6
)
Better detection of berkeleydb
author
CryptoManiac
<balthazar.ad@gmail.com>
Mon, 20 Dec 2021 07:54:24 +0000 (10:54 +0300)
committer
CryptoManiac
<balthazar.ad@gmail.com>
Mon, 20 Dec 2021 07:54:24 +0000 (10:54 +0300)
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index
78d5200
..
72aa181
100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-40,8
+40,8
@@
if (NOT BerkeleyDB_INC)
set(BerkeleyDB_INC ${BerkeleyDB_ROOT}/include)
endif()
-if (NOT EXISTS ${BerkeleyDB_ROOT}/include/db_cxx.h)
- message(FATAL_ERROR "Unable to find db_cxx.h header file in ${BerkeleyDB_ROOT}/include directory")
+if (NOT EXISTS ${BerkeleyDB_INC}/db_cxx.h)
+ message(FATAL_ERROR "Unable to find db_cxx.h header file in ${BerkeleyDB_INC} directory")
endif()
# Set default library path for berkeley db