From 9afc960d8800eb279edd84f9e4698a9808d9bac4 Mon Sep 17 00:00:00 2001 From: "Kevin M. Godby" Date: Fri, 18 Mar 2016 13:07:44 -0500 Subject: [PATCH] Enforce C++11 standard. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 15553b13..a3767987 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)