mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-26 23:49:03 +08:00
wip cmake
This commit is contained in:
parent
c9887874bc
commit
de1cdb2dbe
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user