From ee0fdf016abc06a41722457775913e8e027f0de3 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 12 May 2019 16:13:13 +0300 Subject: [PATCH] Minore cmake fix --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a82606d..017db67e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,7 +63,7 @@ if(SPDLOG_STATIC_LIB) set(SRC_FILES "${SRC_BASE}/spdlog.cpp") add_library(spdlog STATIC ${SRC_FILES}) target_include_directories(spdlog PUBLIC "$") - target_link_libraries(spdlog -Wl,--as-needed) + target_link_libraries(spdlog) else() add_library(spdlog INTERFACE) target_include_directories(spdlog INTERFACE "$")