diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-07-07 14:33:41 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-07-10 14:53:34 +0200 |
commit | d4e3d008fe95be309f40e25cb08b0639c926bf76 (patch) | |
tree | f86856d8336177fa099a6a28dd2191566ce16a5d /src/tools | |
parent | 2efd82396208a522d6728853d916b82930f80f8c (diff) |
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
Pick-to: 6.6 6.5
Change-Id: Id149d8d8002390581813475124ba37dd39d56b9b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/syncqt/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/syncqt/CMakeLists.txt b/src/tools/syncqt/CMakeLists.txt index 9083d014b7..668975c3db 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}" |