]> the.earth.li Git - onak.git/commit
Fix systemd detection
authorJonathan McDowell <noodles@earth.li>
Fri, 15 Sep 2023 05:50:54 +0000 (11:20 +0530)
committerJonathan McDowell <noodles@earth.li>
Fri, 15 Sep 2023 05:50:54 +0000 (11:20 +0530)
commita8f2e191cb35193cb49aca5a6ccdac2170c334a1
treee4ec6a7f113a766a61106810e5f80920636c304a
parent2d53b0b62dd6c230f25c5d66104e6b367390485a
Fix systemd detection

All of our systemd detection logic was in keydb/CMakeLists.txt because
only keyd actually cares about it. However that then means we don't
correctly update build-config.h with HAVE_SYSTEMD and so we link against
it, but don't correctly do socket activation. Split out the detection
into the main CMakeLists.txt so we correctly set the define.
CMakeLists.txt
keydb/CMakeLists.txt