calamares/thirdparty/CMakeLists.txt
Adriaan de Groot 4643ba0adc Clang: improve usefullness of clang-warnings
- don't check c++98 compatibility
 - don't show warnings on third-party code
 - don't check for padding
2017-06-21 07:27:59 -04:00

12 lines
336 B
CMake

if( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
# Suppress warnings entirely; not interesting in third-party code
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w" )
endif()
if( WITH_CRASHREPORTER )
macro( qt_wrap_ui )
qt5_wrap_ui( ${ARGN} )
endmacro()
add_subdirectory( libcrashreporter-qt )
endif()