mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
Lagom: Build with -std=c++2a -Wno-deprecated-copy
This commit is contained in:
parent
815a660aed
commit
96dce6893f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
cmake_minimum_required (VERSION 3.0)
|
||||
project (Lagom)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -Wall -Wextra -Werror -std=c++17 -fPIC -g")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -Wall -Wextra -Werror -std=c++2a -fPIC -g -Wno-deprecated-copy")
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wconsumed")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue