How can i build DBus with TSAN?

Dennis Luehring <[email protected]> Sat, 19 Nov 2022 07:27:30 +0100
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
i try to test my Qt programs with TSAN and got false positives in Glib
and DBus - Glib builds fine with TSAN
but i don't know how to properbly build DBus with TSAN

currently im building DBus with these steps

git clone https://github.com/freedesktop/dbus.git
cd dbus
git checkout dbus-1.14.4
cd ..
mkdir dbus-build
cd dbus-build
cmake ../dbus -Db_sanitize=thread
-DCMAKE_INSTALL_PREFIX=~/qt6_dev/dbus-install
cmake --build . --parallel 4
cmake --install .

i tried -Db_sanitize=thread or -sanitizer thread but both options are unkown