Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7ce821e0 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

improve message about install prefix

parent 9366d252
No related branches found
No related tags found
No related merge requests found
...@@ -862,8 +862,8 @@ get_directory_property( CHAMELEON_DEFINITIONS_LIST DIRECTORY ${CMAKE_SOURCE_DIR} ...@@ -862,8 +862,8 @@ get_directory_property( CHAMELEON_DEFINITIONS_LIST DIRECTORY ${CMAKE_SOURCE_DIR}
include(PrintOpts) include(PrintOpts)
if (${CMAKE_INSTALL_PREFIX} STREQUAL "/usr/local" OR ${CMAKE_INSTALL_PREFIX} STREQUAL "C:/Program Files") 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." 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") "You may want to change it: set the CMAKE_INSTALL_PREFIX variable to do so.${ColourReset}")
endif() endif()
### ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment