From aaa8d23d7b33cbf62c0f987c27e335bdc785ffd0 Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Fri, 20 Feb 2015 15:43:58 +0000 Subject: [PATCH] add message to give the installation path --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1ec47563..50c79340f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -865,6 +865,8 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/") if (${CMAKE_INSTALL_PREFIX} STREQUAL "/usr/local" OR ${CMAKE_INSTALL_PREFIX} STREQUAL "C:/Program Files") 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}") + else() + message("-- ${Yellow}Your CMAKE_INSTALL_PREFIX is ${CMAKE_INSTALL_PREFIX}.${ColourReset}") endif() else(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/") -- GitLab