summaryrefslogtreecommitdiff
path: root/cmake/systemd.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/systemd.cmake')
-rw-r--r--cmake/systemd.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/systemd.cmake b/cmake/systemd.cmake
index 84d0cba94d9..c223716faeb 100644
--- a/cmake/systemd.cmake
+++ b/cmake/systemd.cmake
@@ -37,6 +37,7 @@ MACRO(CHECK_SYSTEMD)
ENDIF()
SET(CMAKE_REQUIRED_LIBRARIES ${LIBSYSTEMD})
CHECK_LIBRARY_EXISTS(systemd sd_listen_fds "" HAVE_SYSTEMD_SD_LISTEN_FDS)
+ CHECK_LIBRARY_EXISTS(systemd sd_listen_fds_with_names "" HAVE_SYSTEMD_SD_LISTEN_FDS_WITH_NAMES)
CHECK_INCLUDE_FILES(systemd/sd-daemon.h HAVE_SYSTEMD_SD_DAEMON_H)
CHECK_FUNCTION_EXISTS(sd_notify HAVE_SYSTEMD_SD_NOTIFY)
CHECK_FUNCTION_EXISTS(sd_notifyf HAVE_SYSTEMD_SD_NOTIFYF)