diff options
author | Brad King <brad.king@kitware.com> | 2019-07-24 11:29:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-24 12:02:37 (GMT) |
commit | 4f15a6a5c200be8235c3e38390aba438186e7f19 (patch) | |
tree | 4fa0591b0d6508cb04345e6e8941a98b2f408860 /Tests/Tutorial/Step3 | |
parent | d50b31be35ed113a41f3944179f8e4a362018f86 (diff) | |
download | CMake-4f15a6a5c200be8235c3e38390aba438186e7f19.zip CMake-4f15a6a5c200be8235c3e38390aba438186e7f19.tar.gz CMake-4f15a6a5c200be8235c3e38390aba438186e7f19.tar.bz2 |
Tests: Revert "require C++14 for the Tutorial"
Revert commit a2a90f41e3 (Tests: require C++14 for the Tutorial,
2019-03-21, v3.15.0-rc1~41^2~2). In commit d50b31be35 (Clang: For MSVC
ABI do not use modes older than C++14, 2019-07-23) we fixed the C++
standard selection for GNU-like Clang with the MSVC ABI so the test code
itself no longer needs to do it. In particular, changing the tests in
this way broke the tutorial's narrative.
Diffstat (limited to 'Tests/Tutorial/Step3')
-rw-r--r-- | Tests/Tutorial/Step3/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Tutorial/Step3/CMakeLists.txt b/Tests/Tutorial/Step3/CMakeLists.txt index baa0a44..f904ea7 100644 --- a/Tests/Tutorial/Step3/CMakeLists.txt +++ b/Tests/Tutorial/Step3/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.3) project(Tutorial) -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED True) # should we use our own math functions option(USE_MYMATH "Use tutorial provided math implementation" ON) |