aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/common.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-28 13:35:45 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-28 13:35:45 +0200
commit8cd1b7811d19e353206acecfa5d0364ab5733e1a (patch)
tree1754d3e4b2d46b33915c2fd962423a9b01ad6c40 /cmake/common.cmake
parent6cd7467fbe20534d26440b4c374ff960efbdf835 (diff)
Adding colors in output messages.
Change-Id: Iad429f66156468098d8e7798c5cabed2481b92a4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/common.cmake')
-rw-r--r--cmake/common.cmake4
1 files 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()