Revert "Trying a terser way to express the minimum version"
This reverts commit 4fb8e407cb.
This commit is contained in:
parent
4fb8e407cb
commit
841f1f3e4b
1 changed files with 3 additions and 1 deletions
|
|
@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 3.13)
|
|||
project(sfizz VERSION 1.0.0 LANGUAGES CXX)
|
||||
|
||||
# Do not override if set to more than 14
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED 14)
|
||||
if (NOT CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD LESS 14)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
endif()
|
||||
|
||||
# Enable LTO
|
||||
set(CMAKE_POLICY_DEFAULT_CMP0069 NEW) # To override the policy in abseil and benchmark
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue