From a2e8997090ad04e7b60098386830aa23040c6537 Mon Sep 17 00:00:00 2001 From: Nam Tran Date: Wed, 9 Jun 2021 15:33:06 -0400 Subject: [PATCH] change spdlog library name --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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})