Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
7ce821e0
Commit
7ce821e0
authored
Feb 05, 2015
by
PRUVOST Florent
Browse files
improve message about install prefix
parent
9366d252
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7ce821e0
...
...
@@ -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
()
###
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment