aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2018-10-05 16:07:02 -0400
committerDavid Neto <dneto@google.com>2018-10-05 16:27:39 -0400
commit9f69723b6c6d4e049033f7e0706d75e20247f8a0 (patch)
tree401e672017a7fe04c3b61d0d0c77b2d056574ba4
parent5652c37a98a5df1958a782a04e1b54531d3012ce (diff)
downloadeffcee-9f69723b6c6d4e049033f7e0706d75e20247f8a0.tar.gz
Require C++11, and CMake 3.1 or later
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a2e1b0..ed230aa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,10 @@
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.1)
project(effcee C CXX)
enable_testing()
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
option(EFFCEE_BUILD_TESTING "Enable testing for Effcee" ON)
if(${EFFCEE_BUILD_TESTING})
message(STATUS "Configuring Effcee to build tests.")