From 7ce821e08f56e015d68ae13dd74caec6c39a63de Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Thu, 5 Feb 2015 17:57:19 +0000 Subject: [PATCH] improve message about install prefix --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d9c87f25..62b75a7c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -862,8 +862,8 @@ get_directory_property( CHAMELEON_DEFINITIONS_LIST DIRECTORY ${CMAKE_SOURCE_DIR} include(PrintOpts) if (${CMAKE_INSTALL_PREFIX} STREQUAL "/usr/local" OR ${CMAKE_INSTALL_PREFIX} STREQUAL "C:/Program Files") - message(WARNING "Your CMAKE_INSTALL_PREFIX is ${CMAKE_INSTALL_PREFIX} which is a default system path." - "You may want to change it: set the CMAKE_INSTALL_PREFIX variable") + message("-- ${Yellow}Your CMAKE_INSTALL_PREFIX is ${CMAKE_INSTALL_PREFIX} which is a default system path." + "You may want to change it: set the CMAKE_INSTALL_PREFIX variable to do so.${ColourReset}") endif() ### -- GitLab