mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Fix indentation: this is a better way to address new gcc warnings
This commit is contained in:
parent
3b55db2dfb
commit
2a5cd80e91
6 changed files with 30 additions and 36 deletions
|
@ -37,12 +37,6 @@ SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -fno-omit-frame-pointer")
|
|||
IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9.3)
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Wno-missing-field-initializers")
|
||||
ENDIF()
|
||||
IF(CMAKE_COMPILER_IS_GNUCC AND (
|
||||
CMAKE_C_COMPILER_VERSION VERSION_EQUAL 6.0.0
|
||||
OR
|
||||
CMAKE_C_COMPILER_VERSION VERSION_GREATER 6))
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Wno-misleading-indentation")
|
||||
ENDIF()
|
||||
IF(DEVEL_MODE EQUAL 1)
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -O0 -g3")
|
||||
IF(CMAKE_C_COMPILER MATCHES "clang" AND
|
||||
|
|
Loading…
Reference in a new issue