aboutsummaryrefslogtreecommitdiff
path: root/src/lmdb/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/lmdb/CMakeLists.txt')
-rw-r--r--src/lmdb/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lmdb/CMakeLists.txt b/src/lmdb/CMakeLists.txt
index 1f369f114..a26c48ad5 100644
--- a/src/lmdb/CMakeLists.txt
+++ b/src/lmdb/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2014-2018, The Monero Project
+# Copyright (c) 2014-2022, The Monero Project
#
# All rights reserved.
#
@@ -27,7 +27,7 @@
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set(lmdb_sources database.cpp error.cpp table.cpp value_stream.cpp)
-set(lmdb_headers database.h error.h key_stream.h table.h transaction.h util.h value_stream.h)
+monero_find_all_headers(lmdb_headers "${CMAKE_CURRENT_SOURCE_DIR}")
monero_add_library(lmdb_lib ${lmdb_sources} ${lmdb_headers})
target_link_libraries(lmdb_lib common ${LMDB_LIBRARY})