summaryrefslogtreecommitdiffstats
path: root/cmake/QtInternalTargets.cmake
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-03-27 01:53:52 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-03-27 16:41:54 +0100
commit6aec89c5fb7d0b76a496c9391747f3bfae38d4ac (patch)
treefe313399ada2c809171d19ea15e6c78633ab0efa /cmake/QtInternalTargets.cmake
parent4fcf6f5164be0c7cdc56b0a37dcadc42fac4f344 (diff)
Hardening: fix _LIBCPP_HARDENING_MODE
It seems we ended up passing "_LIBCPP_HARDENING_MODE_EXTENSIVE" (quoted), not just _LIBCPP_HARDENING_MODE_EXTENSIVE. Remove the quoting. Amends 9ff1e6d80bbd5b44b9ec4c0a837d9a4c962698e4 Change-Id: Ia396b0ef638d656a9ea947a378d5623c11e5a544 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtInternalTargets.cmake')
-rw-r--r--cmake/QtInternalTargets.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtInternalTargets.cmake b/cmake/QtInternalTargets.cmake
index 885665b7ed..0bc194d041 100644
--- a/cmake/QtInternalTargets.cmake
+++ b/cmake/QtInternalTargets.cmake
@@ -354,7 +354,7 @@ if(QT_FEATURE_libstdcpp_assertions)
endif()
if(QT_FEATURE_libcpp_hardening)
- target_compile_definitions(PlatformCommonInternal INTERFACE -D_LIBCPP_HARDENING_MODE="$<IF:$<CONFIG:Debug>,_LIBCPP_HARDENING_MODE_EXTENSIVE,_LIBCPP_HARDENING_MODE_FAST>")
+ target_compile_definitions(PlatformCommonInternal INTERFACE -D_LIBCPP_HARDENING_MODE=$<IF:$<CONFIG:Debug>,_LIBCPP_HARDENING_MODE_EXTENSIVE,_LIBCPP_HARDENING_MODE_FAST>)
endif()
if(QT_FEATURE_relro_now_linker)