forked from qt-creator/qt-creator
ClangFormat: Suppress warnings from llvm
Change-Id: Id79abc3ea87576a681d86a7c1bd3be957acc299f Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
8ace5d3895
commit
707e7ba41f
@@ -15,6 +15,10 @@ add_qtc_plugin(ClangFormat
|
||||
clangformatutils.cpp clangformatutils.h
|
||||
)
|
||||
|
||||
if(MSVC AND TARGET ClangFormat)
|
||||
target_compile_options(ClangFormat PUBLIC /wd4267 /wd4624)
|
||||
endif()
|
||||
|
||||
extend_qtc_plugin(ClangFormat
|
||||
CONDITION UNIX AND NOT APPLE
|
||||
PROPERTIES LINK_FLAGS "-Wl,--exclude-libs,ALL"
|
||||
|
Reference in New Issue
Block a user