From 991067372dde0d4665afe462f7ecca704c289a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 26 Jun 2019 08:06:32 +0300 Subject: [PATCH] Improve systemd check error message The error now displays the correct package name for systems that use RPMs. --- cmake/CheckPlatform.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CheckPlatform.cmake b/cmake/CheckPlatform.cmake index 183e59dfc..a000b668b 100644 --- a/cmake/CheckPlatform.cmake +++ b/cmake/CheckPlatform.cmake @@ -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()