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