CMake: minor docs, typo's
This commit is contained in:
parent
8b76b861ad
commit
b805a8df74
@ -50,7 +50,7 @@ if( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
|
|||||||
|
|
||||||
# Clang warnings: doing *everything* is counter-productive, since it warns
|
# Clang warnings: doing *everything* is counter-productive, since it warns
|
||||||
# about things which we can't fix (e.g. C++98 incompatibilities, but
|
# about things which we can't fix (e.g. C++98 incompatibilities, but
|
||||||
# Calaares is C++14).
|
# Calamares is C++14).
|
||||||
foreach( CLANG_WARNINGS
|
foreach( CLANG_WARNINGS
|
||||||
-Weverything
|
-Weverything
|
||||||
-Wno-c++98-compat
|
-Wno-c++98-compat
|
||||||
@ -88,6 +88,8 @@ else()
|
|||||||
set( SUPPRESS_BOOST_WARNINGS "" )
|
set( SUPPRESS_BOOST_WARNINGS "" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Use mark_thirdparty_code() to reduce warnings from the compiler
|
||||||
|
# on code that we're not going to fix. Call this with a list of files.
|
||||||
macro(mark_thirdparty_code)
|
macro(mark_thirdparty_code)
|
||||||
set_source_files_properties( ${ARGV}
|
set_source_files_properties( ${ARGV}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
|
Loading…
Reference in New Issue
Block a user