summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-02 03:19:46 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-06-23 12:49:19 +0200
commit7efacc7cbee1483b014da0877e313e4b9cc0837b (patch)
treeab82eae4386a63724ccfe0f9ada20cc635e35cf0 /src/corelib
parent4cc2f48628a5029ec299d8b6e5a828d140ef6c86 (diff)
Enable QT_TYPESAFE_FLAGS for bootstrap and QtCore
Change-Id: I5c64a29ffecece9e527f5db78cceb912836153d3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt
index 48aba27ca3..f92e3a8660 100644
--- a/src/corelib/CMakeLists.txt
+++ b/src/corelib/CMakeLists.txt
@@ -248,6 +248,7 @@ qt_internal_add_module(Core
DEFINES
QT_NO_FOREACH
QT_NO_USING_NAMESPACE
+ QT_TYPESAFE_FLAGS
INCLUDE_DIRECTORIES
"${CMAKE_CURRENT_BINARY_DIR}/global" # special case
"${CMAKE_CURRENT_BINARY_DIR}/kernel" # for moc_qobject.cpp to be found by qobject.cpp