change spdlog library name
This commit is contained in:
@@ -6,10 +6,10 @@ add_compile_options("-std=c++14")
|
||||
include_directories("/home/nam/sw/include")
|
||||
|
||||
add_library(channel STATIC channel.cc)
|
||||
find_library(SPDLOG_LIBRARY
|
||||
find_library(SPDLOG
|
||||
NAMES spdlog
|
||||
HINTS "/home/nam/sw/lib"
|
||||
)
|
||||
add_executable(${TARGET} client.cc)
|
||||
|
||||
target_link_libraries(${TARGET} channel ${SPDLOG_LIBRARY})
|
||||
target_link_libraries(${TARGET} channel ${SPDLOG})
|
||||
|
||||
Reference in New Issue
Block a user