aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-06-01 22:10:42 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-06-01 22:10:42 -0500
commit51171d2ca318a9a161c9da6fbb65ef82bc87db4d (patch)
tree84fc87da2be1aba78aeb36213f099e739b95f5d1
parentMerge pull request #7724 (diff)
parentCMake: glob missing headers for easylogging (diff)
downloadmonero-51171d2ca318a9a161c9da6fbb65ef82bc87db4d.tar.xz
Merge pull request #7725
a4a154b CMake: glob missing headers for easylogging (mj-xmr)
-rw-r--r--external/easylogging++/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/external/easylogging++/CMakeLists.txt b/external/easylogging++/CMakeLists.txt
index 28c2945b1..9aa4c08bc 100644
--- a/external/easylogging++/CMakeLists.txt
+++ b/external/easylogging++/CMakeLists.txt
@@ -36,8 +36,12 @@ monero_enable_coverage()
find_package(Threads)
find_package(Backtrace)
+monero_find_all_headers(EASYLOGGING_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}")
+
add_library(easylogging
- easylogging++.cc)
+ easylogging++.cc
+ ${EASYLOGGING_HEADERS}
+ )
include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
include_directories("${CMAKE_CURRENT_BINARY_DIR}")