summaryrefslogtreecommitdiffstats
path: root/Tests/Tutorial/Step6/CMakeLists.txt
diff options
context:
space:
mode:
authorZsolt Parragi <zsolt.parragi@cancellar.hu>2019-03-21 18:54:03 (GMT)
committerZsolt Parragi <zsolt.parragi@cancellar.hu>2019-05-24 06:43:55 (GMT)
commita2a90f41e312ef1b6f60dd700db441e4b637d853 (patch)
tree41a15738a272596c46ff97d89fe09d372a5b89e5 /Tests/Tutorial/Step6/CMakeLists.txt
parent4819ff964714faec8ad2d92a3ee541b19196bcfc (diff)
downloadCMake-a2a90f41e312ef1b6f60dd700db441e4b637d853.zip
CMake-a2a90f41e312ef1b6f60dd700db441e4b637d853.tar.gz
CMake-a2a90f41e312ef1b6f60dd700db441e4b637d853.tar.bz2
Tests: require C++14 for the Tutorial
Clang++ on Windows with the MSVC STL requires C++14 to compile. The C++ standard is set to C++14 for the entire tutorial instead of MSVC/clang specific conditions to keep it simple.
Diffstat (limited to 'Tests/Tutorial/Step6/CMakeLists.txt')
-rw-r--r--Tests/Tutorial/Step6/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/Tutorial/Step6/CMakeLists.txt b/Tests/Tutorial/Step6/CMakeLists.txt
index 503a312..a78b0ff 100644
--- a/Tests/Tutorial/Step6/CMakeLists.txt
+++ b/Tests/Tutorial/Step6/CMakeLists.txt
@@ -1,8 +1,7 @@
cmake_minimum_required(VERSION 3.3)
project(Tutorial)
-set(CMAKE_CXX_STANDARD 11)
-set(CMAKE_CXX_STANDARD_REQUIRED True)
+set(CMAKE_CXX_STANDARD 14)
# the version number.
set(Tutorial_VERSION_MAJOR 1)