Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
aaa8d23d
Commit
aaa8d23d
authored
Feb 20, 2015
by
PRUVOST Florent
Browse files
add message to give the installation path
parent
8e416685
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
aaa8d23d
...
@@ -865,6 +865,8 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
...
@@ -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"
)
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."
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
}
"
)
"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
()
endif
()
else
(
MORSE_DISTRIB_DIR OR EXISTS
"
${
CMAKE_SOURCE_DIR
}
/cmake_modules/"
)
else
(
MORSE_DISTRIB_DIR OR EXISTS
"
${
CMAKE_SOURCE_DIR
}
/cmake_modules/"
)
...
...
Write
Preview
Markdown
is supported
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