1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-03-02 03:40:21 +00:00

use c++17, deprecate debian 9 (stretch) packaging

C++17 has some nice new features, but Debian Stretch doesn't
support a compiler which can use it. Stretch is oldstable for a
while now anyway, so just deprecate support.
This commit is contained in:
Oliver Giles
2020-06-20 15:39:34 +12:00
parent c690be3a90
commit 0f2e601692
3 changed files with 2 additions and 158 deletions

View File

@@ -1,5 +1,5 @@
###
### Copyright 2015-2019 Oliver Giles
### Copyright 2015-2020 Oliver Giles
###
### This file is part of Laminar
###
@@ -22,7 +22,7 @@ cmake_policy(SET CMP0058 NEW)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_definitions("-std=c++14 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare")
add_definitions("-std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Werror -DDEBUG")
# This macro takes a list of files, gzips them and converts the output into