aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--common.cmake4
-rw-r--r--examples/boost/CMakeLists.txt2
-rw-r--r--examples/dynamic/CMakeLists.txt2
-rw-r--r--examples/simple/CMakeLists.txt2
-rw-r--r--examples/static/CMakeLists.txt2
5 files changed, 6 insertions, 6 deletions
diff --git a/common.cmake b/common.cmake
index 8ab0686..57f4e83 100644
--- a/common.cmake
+++ b/common.cmake
@@ -10,7 +10,7 @@
# Add this to the top-level CMakeLists.txt (unless a higher version has already
# been specified):
#
-# cmake_minimum_required(VERSION 3.12)
+# cmake_minimum_required(VERSION 3.8)
# Without this policy set, this line:
#
@@ -54,7 +54,7 @@ if(parent_dir)
endif()
if(NOT DEFINED CC_CXX_STANDARD)
- set(CC_CXX_STANDARD "20" CACHE STRING "C++ standard version")
+ set(CC_CXX_STANDARD "17" CACHE STRING "C++ standard version")
endif()
if(NOT DEFINED CC_COMMON_OPTIONS)
option(CC_COMMON_OPTIONS "Set common compiler options" "${default_value}")
diff --git a/examples/boost/CMakeLists.txt b/examples/boost/CMakeLists.txt
index bfb1f68..e7ac156 100644
--- a/examples/boost/CMakeLists.txt
+++ b/examples/boost/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.8)
project(example_boost)
diff --git a/examples/dynamic/CMakeLists.txt b/examples/dynamic/CMakeLists.txt
index d4e0712..1b3c93f 100644
--- a/examples/dynamic/CMakeLists.txt
+++ b/examples/dynamic/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.8)
project(example_dynamic)
diff --git a/examples/simple/CMakeLists.txt b/examples/simple/CMakeLists.txt
index 94810a4..6ee2762 100644
--- a/examples/simple/CMakeLists.txt
+++ b/examples/simple/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.8)
project(example_simple)
diff --git a/examples/static/CMakeLists.txt b/examples/static/CMakeLists.txt
index c5d77d3..b03d452 100644
--- a/examples/static/CMakeLists.txt
+++ b/examples/static/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.8)
project(example_static)