MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012340 | CMake | CMake | public | 2011-07-14 16:56 | 2012-01-02 15:56 |
Reporter | Russ Tayor | ||||
Assigned To | David Cole | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | PC | OS | Windows | OS Version | 7 |
Product Version | CMake 2.8.4 | ||||
Target Version | Fixed in Version | ||||
Summary | 0012340: Setting CMAKE_INSTALL_PREFIX does not behave as expected | ||||
Description | When I set CMAKE_INSTALL_PREFIX in a CMakeLists.txt file as follows: #----------------------------------------------------------------------------- # Put this in /usr/local unless overridden. The default on Windows is # in Program Files, but that breaks on Windows 7 because you have to be # admin to write there. set(CMAKE_INSTALL_PREFIX /usr/local/) the behavior is not as expected. First, that value for the prefix does not show up in the GUI. Second, the value that is set in CMakeLists.txt file is the one that is actually used (so the one shown in cmake-gui is not used). Thus, there is no way to see that it has been changed or to override it. This is not what happens with other variables in CMake. | ||||
Steps To Reproduce | Add the above into your CMakeLists.txt file for your favorite project. | ||||
Additional Information | This also happens on MacOSX under CMake 2.8.2. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-07-14 16:56 | Russ Tayor | New Issue | |||
2011-07-14 17:10 | David Cole | Assigned To | => David Cole | ||
2011-07-14 17:10 | David Cole | Status | new => assigned | ||
2011-07-14 17:23 | David Cole | Note Added: 0027037 | |||
2011-07-16 19:34 | David Cole | Note Added: 0027050 | |||
2011-07-16 19:34 | David Cole | Status | assigned => resolved | ||
2011-07-16 19:34 | David Cole | Resolution | open => no change required | ||
2012-01-02 15:56 | David Cole | Note Added: 0028105 | |||
2012-01-02 15:56 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|