mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
CMake: be compatible with clang 6
- Some of the pragmas in moc-warnings.h, intended to *reduce* warnings from MOC code, generate a warning in their own right.
This commit is contained in:
parent
6b137d6fd2
commit
f937ef6eb9
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ if( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
|
|||
-Wno-exit-time-destructors
|
||||
-Wno-missing-prototypes
|
||||
-Wno-documentation-unknown-command
|
||||
-Wno-unknown-warning-option
|
||||
)
|
||||
string( APPEND CMAKE_CXX_FLAGS " ${CLANG_WARNINGS}" )
|
||||
endforeach()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue