mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +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)
|
||||
|
||||
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_INSTALL "Generate the install target." ${SPDLOG_MASTER_PROJECT})
|
||||
|
||||
|
||||
if(SPDLOG_STATIC_LIB)
|
||||
add_definitions(-DSPDLOG_STATIC_LIB)
|
||||
file(GLOB SRC_FILES ${HEADER_BASE}/impl/*.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user