easylogging++: ensure it finds boost headers

This commit is contained in:
moneromooo-monero 2019-09-24 18:12:18 +00:00
parent 3f6096867d
commit 9a95827ea7
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 3 additions and 1 deletions

View file

@ -451,7 +451,6 @@ ExternalProject_Add(generate_translations_header
CMAKE_ARGS -DLRELEASE_PATH=${LRELEASE_PATH}
INSTALL_COMMAND cmake -E echo "")
include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
add_subdirectory(external)
# Final setup for libunbound
include_directories(${UNBOUND_INCLUDE})
@ -1024,3 +1023,5 @@ if (iwyu_tool_path AND PYTHONINTERP_FOUND)
VERBATIM
)
endif()
add_subdirectory(external)

View file

@ -40,6 +40,7 @@ add_library(easylogging
include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
target_link_libraries(easylogging
PRIVATE
${CMAKE_THREAD_LIBS_INIT}