Merge pull request #7725

a4a154b CMake: glob missing headers for easylogging (mj-xmr)
This commit is contained in:
luigi1111 2021-06-01 22:10:42 -05:00
commit 51171d2ca3
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 5 additions and 1 deletions

View File

@ -36,8 +36,12 @@ monero_enable_coverage()
find_package(Threads) find_package(Threads)
find_package(Backtrace) find_package(Backtrace)
monero_find_all_headers(EASYLOGGING_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}")
add_library(easylogging add_library(easylogging
easylogging++.cc) easylogging++.cc
${EASYLOGGING_HEADERS}
)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}") include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
include_directories("${CMAKE_CURRENT_BINARY_DIR}") include_directories("${CMAKE_CURRENT_BINARY_DIR}")