|
|
@ -1,4 +1,4 @@
|
|
|
|
# Copyright(c) 2019 spdlog
|
|
|
|
# Copyright(c) 2019 spdlog authors
|
|
|
|
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
|
|
|
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
|
|
|
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.1)
|
|
|
|
cmake_minimum_required(VERSION 3.1)
|
|
|
@ -53,7 +53,6 @@ option(SPDLOG_BUILD_TESTS "Build tests" ${SPDLOG_MASTER_PROJECT})
|
|
|
|
option(SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" OFF)
|
|
|
|
option(SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" OFF)
|
|
|
|
option(SPDLOG_INSTALL "Generate the install target." ${SPDLOG_MASTER_PROJECT})
|
|
|
|
option(SPDLOG_INSTALL "Generate the install target." ${SPDLOG_MASTER_PROJECT})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(SPDLOG_STATIC_LIB)
|
|
|
|
if(SPDLOG_STATIC_LIB)
|
|
|
|
add_definitions(-DSPDLOG_STATIC_LIB)
|
|
|
|
add_definitions(-DSPDLOG_STATIC_LIB)
|
|
|
|
file(GLOB SRC_FILES ${HEADER_BASE}/impl/*.cpp)
|
|
|
|
file(GLOB SRC_FILES ${HEADER_BASE}/impl/*.cpp)
|
|
|
|