summaryrefslogtreecommitdiff
path: root/cmake/systemd.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-11-22 07:20:15 +0100
committerSergei Golubchik <serg@mariadb.org>2015-11-23 16:02:56 +0100
commit58a6b9ebffc88c38251d55338247c3d936b55c30 (patch)
treec001d6a0fa0a06b344735deb7d85b2ea427c4959 /cmake/systemd.cmake
parent4f84d9ce888864bd4fd3863ace3df33a64236d6b (diff)
downloadmariadb-git-58a6b9ebffc88c38251d55338247c3d936b55c30.tar.gz
cmake: message_once
Diffstat (limited to 'cmake/systemd.cmake')
-rw-r--r--cmake/systemd.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/systemd.cmake b/cmake/systemd.cmake
index b0161cf9114..e6094c7c5bc 100644
--- a/cmake/systemd.cmake
+++ b/cmake/systemd.cmake
@@ -65,7 +65,7 @@ MACRO(CHECK_SYSTEMD)
SET(SYSTEMD_EXECSTARTPRE "ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld")
SET(SYSTEMD_EXECSTARTPOST "ExecStartPost=/etc/mysql/debian-start")
ENDIF()
- MESSAGE(STATUS "Systemd features enabled")
+ MESSAGE_ONCE(systemd "Systemd features enabled")
ELSE()
UNSET(LIBSYSTEMD)
UNSET(HAVE_SYSTEMD)
@@ -73,7 +73,7 @@ MACRO(CHECK_SYSTEMD)
UNSET(HAVE_SYSTEMD_SD_LISTEN_FDS)
UNSET(HAVE_SYSTEMD_SD_NOTIFY)
UNSET(HAVE_SYSTEMD_SD_NOTIFYF)
- MESSAGE(STATUS "Systemd features not enabled")
+ MESSAGE_ONCE(systemd "Systemd features not enabled")
IF(WITH_SYSTEMD STREQUAL "yes")
MESSAGE(FATAL_ERROR "Requested WITH_SYSTEMD=YES however no dependencies installed/found")
ENDIF()