From e333057970bf187393b3d6df52a461f9d7351a62 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Fri, 7 Jul 2023 14:33:41 +0200 Subject: [PATCH] Make sure that exception flags are not overridden in syncqt tool qt_internal_add_tool has the implicit logic that disregards the previously installed flags and adds new flags that overrides the exceptions behavior. Add the tool-specific option to make sure that this won't happen. Ammends 0f5fbe369b84c422003e24322abc90a1b09520d2 Change-Id: Id149d8d8002390581813475124ba37dd39d56b9b Reviewed-by: Alexandru Croitor (cherry picked from commit d4e3d008fe95be309f40e25cb08b0639c926bf76) Reviewed-by: Qt Cherry-pick Bot --- src/tools/syncqt/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/syncqt/CMakeLists.txt b/src/tools/syncqt/CMakeLists.txt index 9083d014b73..668975c3db1 100644 --- a/src/tools/syncqt/CMakeLists.txt +++ b/src/tools/syncqt/CMakeLists.txt @@ -32,6 +32,7 @@ qt_get_tool_target_name(target_name syncqt) if(NOT QT_SYNC_HEADERS_AT_CONFIGURE_TIME) qt_internal_add_tool(${target_name} DEFINES ${compile_definitions} + EXCEPTIONS TOOLS_TARGET Core CORE_LIBRARY None INSTALL_DIR "${INSTALL_LIBEXECDIR}"