diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-07-21 15:24:11 +0100 |
---|---|---|
committer | Alex Richardson <arichardson.kde@gmail.com> | 2021-10-02 15:02:35 +0000 |
commit | 5f6a21d56404ad34aa01deca48ff41aae50d4613 (patch) | |
tree | 1a4dac93d6ae5d04400990dc38d2dcf4d2236fd6 /modules/ECMGenerateDBusServiceFile.cmake | |
parent | 63bec5521d245e3a1ea50109b86a2b716966938e (diff) | |
download | extra-cmake-modules-5f6a21d56404ad34aa01deca48ff41aae50d4613.tar.gz extra-cmake-modules-5f6a21d56404ad34aa01deca48ff41aae50d4613.tar.bz2 |
ecm_add_test: add -DQT_FORCE_ASSERTS to compile flags by default
While debugging a failing test (KProcessTest in KCoreAddons), I noticed
that the Q_ASSERT() statements inside that test weren't being executed
because RelWithDebInfo builds default to passing -DQT_NO_DEBUG.
With this change the test I was debugging now asserts early instead of
failing a QCOMPARE later on.
Diffstat (limited to 'modules/ECMGenerateDBusServiceFile.cmake')
0 files changed, 0 insertions, 0 deletions