aboutsummaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-09-06 11:24:46 +0200
committerChristian Tismer <tismer@stackless.com>2021-09-08 13:01:15 +0200
commit604b559e6f4837535cd00f383a760199baaaff58 (patch)
tree653d947f66d506796e41bf46783099452e17db82 /sources
parent4ddbd105e86129def76dde5075ecac077671ba0d (diff)
cmake: Fix option --sanitize-address, take two
Fix the macro name, amending 4d63dfffb661115f58cca60c80c4649ba982e01b. This was actually discovered by PyPy bug hunting. Change-Id: Ic71ecf07dc3e03d23fa505d8a3fad3f7b933c354 Task-number: PYSIDE-1655 Task-number: PYSIDE-1033 Task-number: PYSIDE-535 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit df81513945fd40c3ce6b28605ba656f35c814602)
Diffstat (limited to 'sources')
-rw-r--r--sources/shiboken2/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/CMakeLists.txt b/sources/shiboken2/CMakeLists.txt
index 8b626af09..c6546021c 100644
--- a/sources/shiboken2/CMakeLists.txt
+++ b/sources/shiboken2/CMakeLists.txt
@@ -144,7 +144,7 @@ endif()
# Build with Address sanitizer enabled if requested.
# This may break things, so use at your own risk.
if (SANITIZE_ADDRESS AND NOT MSVC)
- set_sanitize_address()
+ setup_sanitize_address()
endif()
# Detect if the python libs were compiled in debug mode