mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
Lagom: Append to CMAKE_CXX_FLAGS instead of overwriting it.
This commit is contained in:
parent
db5a4c3409
commit
b9c8b3137d
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 "-O2 -Wall -Wextra -Werror -std=c++17 -fPIC")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -Wall -Wextra -Werror -std=c++17 -fPIC")
|
||||
|
||||
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