CMake: glob missing headers for easylogging

This commit is contained in:
mj-xmr 2021-05-14 14:18:16 +02:00
parent b1873af519
commit a4a154b0e2
No known key found for this signature in database
GPG key ID: C101BF94093451E0

View file

@ -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}")