From 8cd1b7811d19e353206acecfa5d0364ab5733e1a Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Sun, 28 May 2017 13:35:45 +0200 Subject: [PATCH] Adding colors in output messages. Change-Id: Iad429f66156468098d8e7798c5cabed2481b92a4 Signed-off-by: Romain Forlot --- cmake/common.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/common.cmake b/cmake/common.cmake index 9904692..afc8ce0 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -155,9 +155,9 @@ macro(remote_targets_populate) ) if(NOT RSYNC_TARGET OR NOT RSYNC_PREFIX) - message (".. Warning: RSYNC_TARGET RSYNC_PREFIX not defined 'make remote-target-populate' not instanciated") + message ("${Yellow}.. Warning: RSYNC_TARGET RSYNC_PREFIX not defined 'make remote-target-populate' not instanciated${ColourReset}") add_custom_target(remote-target-populate - COMMENT "*** Fatal: RSYNC_TARGET RSYNC_PREFIX required with 'make remote-target-populate'" + COMMENT "${Red}*** Fatal: RSYNC_TARGET RSYNC_PREFIX environment variables required with 'make remote-target-populate'${ColourReset}" COMMAND exit -1 ) else() -- 2.16.6