diff options
author | gabime <gmelman1@gmail.com> | 2019-05-12 00:22:39 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2019-05-12 00:22:39 +0300 |
commit | 6bcb422c80517d577f6693d752d93e662c792230 (patch) | |
tree | 2b79374a6672fcf3fa22ec0829762c2eb089f57c /CMakeLists.txt | |
parent | 540f8653555ac63b3f1d35e178acfb92514d9179 (diff) |
clang format and SPLDOG_HEADER_ONLY macro
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 775e236f..4b2775b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ message(STATUS "Static lib: " ${SPDLOG_STATIC_LIB}) if(SPDLOG_STATIC_LIB)
add_definitions(-DSPDLOG_STATIC_LIB)
set(SRC_BASE "${CMAKE_CURRENT_SOURCE_DIR}/src")
- set(SRC_FILES "${SRC_BASE}/spdlog.cpp" "${SRC_BASE}/format.cc")
+ set(SRC_FILES "${SRC_BASE}/spdlog.cpp" "${SRC_BASE}/format.cpp")
add_library(spdlog STATIC ${SRC_FILES})
target_include_directories(spdlog PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>")
target_link_libraries(spdlog -Wl,--as-needed)
|