Don't recursively include compile flags.
This commit is contained in:
parent
265baf17aa
commit
4ea1cdc2a1
@ -1032,9 +1032,9 @@ IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
|
||||
SET(
|
||||
CMAKE_CXX_FLAGS
|
||||
"${CMAKE_CXX_FLAGS} -D_REENTRANT=1 -W -Wall -pedantic -Warray-bounds-pointer-arithmetic -Wold-style-cast -Wconversion -Wcast-align -Wno-sign-conversion"
|
||||
"-D_REENTRANT=1 -W -Wall -pedantic -Warray-bounds-pointer-arithmetic -Wold-style-cast -Wconversion -Wcast-align -Wno-sign-conversion"
|
||||
CACHE STRING
|
||||
"g++ Compiler Flags"
|
||||
"C++ Compiler Flags"
|
||||
FORCE
|
||||
)
|
||||
|
||||
@ -1050,9 +1050,9 @@ ELSE()
|
||||
|
||||
SET(
|
||||
CMAKE_CXX_FLAGS
|
||||
"${CMAKE_CXX_FLAGS} -D_REENTRANT=1 -W -Wall -pedantic -Wpointer-arith -Wold-style-cast -Wconversion -Wcast-align -Wno-long-long"
|
||||
"-D_REENTRANT=1 -W -Wall -pedantic -Wpointer-arith -Wold-style-cast -Wconversion -Wcast-align -Wno-long-long"
|
||||
CACHE STRING
|
||||
"g++ Compiler Flags"
|
||||
"C++ Compiler Flags"
|
||||
FORCE
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user