mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Fix linker issues using easylogging
This commit is contained in:
parent
5dbcceb664
commit
8df827075f
2 changed files with 93 additions and 1 deletions
4
external/easylogging++/CMakeLists.txt
vendored
4
external/easylogging++/CMakeLists.txt
vendored
|
@ -33,6 +33,7 @@ project(easylogging CXX)
|
|||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
|
||||
find_package(Threads)
|
||||
find_package(Backtrace)
|
||||
|
||||
add_library(easylogging
|
||||
easylogging++.cc)
|
||||
|
@ -41,7 +42,8 @@ include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
|
|||
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
|
||||
target_link_libraries(easylogging
|
||||
PRIVATE
|
||||
${CMAKE_THREAD_LIBS_INIT})
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${Backtrace_LIBRARIES})
|
||||
|
||||
# GUI/libwallet install target
|
||||
if (BUILD_GUI_DEPS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue