mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-29 00:40:20 +08:00
Enforce C++11 standard.
This commit is contained in:
parent
e8a669fe0e
commit
9afc960d88
@ -6,6 +6,9 @@
|
|||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(spdlog VERSION 1.0.0)
|
project(spdlog VERSION 1.0.0)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
add_library(spdlog INTERFACE)
|
add_library(spdlog INTERFACE)
|
||||||
|
|
||||||
option(SPDLOG_BUILD_EXAMPLES "Build examples" OFF)
|
option(SPDLOG_BUILD_EXAMPLES "Build examples" OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user