Enforce C++11 standard.

This commit is contained in:
Kevin M. Godby 2016-03-18 13:07:44 -05:00
parent e8a669fe0e
commit 9afc960d88

View File

@ -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)