Improve systemd check error message

The error now displays the correct package name for systems that use RPMs.
This commit is contained in:
Markus Mäkelä 2019-06-26 08:06:32 +03:00
parent 6cc0d43cb2
commit 991067372d
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -54,7 +54,7 @@ if(HAVE_SYSTEMD)
elseif(NOT BUILD_SYSTEM_TESTS)
# If systemd is in use, require libsystemd-dev to be installed
if(NOT NOT_SYSTEMD_IS_RUNNING)
message( FATAL_ERROR "systemd is running: please install libsystemd-dev" )
message(FATAL_ERROR "systemd is running: please install libsystemd-dev (DEB) or systemd-devel (RPM)")
endif()
endif()