]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: fix for -DWITH_BREAKPAD=OFF wip-cmake-breakpad-arch2
authorCasey Bodley <cbodley@redhat.com>
Mon, 1 Dec 2025 15:25:16 +0000 (10:25 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 1 Dec 2025 16:26:02 +0000 (11:26 -0500)
commit3d04c97d796e2ffe912ffc9017dfa83a3fbc604f
tree405108f870b5c3a190f9c2d1322ae897acd7d54d
parent3ea1ba8e8fb42a6f386e88199db061d3445f9bbf
cmake: fix for -DWITH_BREAKPAD=OFF

in 1ba55a20be1023c585ba96617dc6a9d2aa79a51b, i tried to avoid the NOT
condition by swapping the option's defaults. but when the condition is
false, the option is forced to ON even if the user manually set it OFF

fix this by inverting the condition and swapping the default values

Reported-by: Joseph Mundackal <joseph.j.mundackal@gmail.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
CMakeLists.txt