MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013261 | CMake | CMake | public | 2012-05-30 13:43 | 2012-10-01 13:23 |
Reporter | Charlie Sharpsteen | ||||
Assigned To | David Cole | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Apple | OS | OS X | OS Version | |
Product Version | CMake 2.8.8 | ||||
Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||
Summary | 0013261: Default value of CMAKE_FIND_FRAMEWORK can not be overridden from the command line | ||||
Description | `CMAKE_FIND_FRAMEWORK` always has a value of `FIRST` even if a user passes an argument such as `-DCMAKE_FIND_FRAMEWORK=LAST` when configuring a project. This is due to an unguarded default in the platform file `Darwin.cmake` that always overrides user input. See the following thread on the mailing list for more details: http://cmake.3232098.n2.nabble.com/Why-does-CMAKE-FIND-FRAMEWORK-always-default-to-FIRST-ignoring-command-line-definitions-tp7521759.html [^] Patch attached which adds guards to the default in `Darwin.cmake`. No changes in the CMake testsuite were noticed after applying the patch. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 0001-Add-guards-to-CMAKE_FIND_FRAMEWORK-default.patch (1,025) 2012-05-30 13:43 https://public.kitware.com/Bug/file/4340/0001-Add-guards-to-CMAKE_FIND_FRAMEWORK-default.patch 0001-Add-guards-to-CMAKE_FIND_FRAMEWORK-default.patch-2 (1,662) 2012-05-30 14:16 https://public.kitware.com/Bug/file/4341/0001-Add-guards-to-CMAKE_FIND_FRAMEWORK-default.patch-2 | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-05-30 13:43 | Charlie Sharpsteen | New Issue | |||
2012-05-30 13:43 | Charlie Sharpsteen | File Added: 0001-Add-guards-to-CMAKE_FIND_FRAMEWORK-default.patch | |||
2012-05-30 13:54 | Brad King | Assigned To | => David Cole | ||
2012-05-30 13:54 | Brad King | Status | new => assigned | ||
2012-05-30 13:54 | Brad King | Note Added: 0029587 | |||
2012-05-30 14:08 | Charlie Sharpsteen | Note Added: 0029588 | |||
2012-05-30 14:10 | Brad King | Note Added: 0029589 | |||
2012-05-30 14:16 | Charlie Sharpsteen | File Added: 0001-Add-guards-to-CMAKE_FIND_FRAMEWORK-default.patch-2 | |||
2012-05-30 14:19 | Charlie Sharpsteen | Note Added: 0029590 | |||
2012-05-31 08:27 | David Cole | Target Version | => CMake 2.8.9 | ||
2012-05-31 08:28 | David Cole | Note Added: 0029591 | |||
2012-05-31 08:28 | David Cole | Status | assigned => resolved | ||
2012-05-31 08:28 | David Cole | Fixed in Version | => CMake 2.8.9 | ||
2012-05-31 08:28 | David Cole | Resolution | open => fixed | ||
2012-10-01 13:23 | David Cole | Note Added: 0031138 | |||
2012-10-01 13:23 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|