From 005450ff13b268ab5e78a15dfd5d0b342327e91a Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 11 May 2019 13:52:46 +0300 Subject: wip --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ebb465e..775e236f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,8 @@ message(STATUS "Static lib: " ${SPDLOG_STATIC_LIB}) if(SPDLOG_STATIC_LIB) add_definitions(-DSPDLOG_STATIC_LIB) - file(GLOB SRC_FILES ${HEADER_BASE}/impl/*.cpp) + set(SRC_BASE "${CMAKE_CURRENT_SOURCE_DIR}/src") + set(SRC_FILES "${SRC_BASE}/spdlog.cpp" "${SRC_BASE}/format.cc") add_library(spdlog STATIC ${SRC_FILES}) target_include_directories(spdlog PUBLIC "$") target_link_libraries(spdlog -Wl,--as-needed) -- cgit v1.2.3