summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-06-21 08:51:58 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-21 07:53:33 +0000
commitb5a14d45a7f89300a8d8b76d72ec34428a491914 (patch)
tree30ef0f4078788eec5d504c81f57b80fb28ce28e9
parentb6630c0c5dc6172a927c72299dcf6e6df6a4f466 (diff)
CMake: Disable warnings for 3rd party litehtml code
We do it for other 3rd party code like freetype and assimp as well. Fixes: QTBUG-94612 Change-Id: I320d9526170fe7ee7c514468a0e9db89cc4267e1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit 5ca131f1254c261c8711a1d677333e98c6fb92b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/assistant/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/assistant/CMakeLists.txt b/src/assistant/CMakeLists.txt
index 19eb21e75..f680c9ae8 100644
--- a/src/assistant/CMakeLists.txt
+++ b/src/assistant/CMakeLists.txt
@@ -32,6 +32,9 @@ add_subdirectory(qlitehtml/src EXCLUDE_FROM_ALL)
if(TARGET qlitehtml)
qt_autogen_tools_initial_setup(qlitehtml)
qt_internal_set_exceptions_flags(litehtml OFF)
+ qt_disable_warnings(litehtml)
+ qt_disable_warnings(qlitehtml)
+ qt_disable_warnings(gumbo)
set_target_properties(qlitehtml PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_BINDIR}"
LIBRARY_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_LIBDIR}"