diff --git a/CMakeLists.txt b/CMakeLists.txt index e97de74..376cd93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})