Commit 7ce821e0 authored by PRUVOST Florent's avatar PRUVOST Florent

improve message about install prefix

parent 9366d252
......@@ -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()
###
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment