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