<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
&gt; And *NEVER EVER* set CMAKE_INSTALL_PREFIX in your CMakeLists.txt file.<br>&gt; That is a user-setting and you will make people angry at you if you<br>&gt; override their choice in your code.<br><br>There is actually one single use-case where it might be useful to change this variable once:<br>Say you have a library libFoo installed in /path/to/libfoo. Now you like to have an add-on library.<br>You might want to normally install this library to the same location where the base library is.<br>The CMake file here can set the CMAKE_INSTALL_PREFIX to /path/to/libfoo _once_.<br><br><br>(I actually hope that there will never be a real libFoo in the world... I like to use the name in my mails)<br>                                               </body>
</html>