MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0008264 | CMake | CMake | public | 2008-12-08 17:22 | 2008-12-17 09:25 |
Reporter | jlblanco | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-6 | ||||
Target Version | Fixed in Version | ||||
Summary | 0008264: PATCH: FindPackage searches in ${ProgramFiles}/name* | ||||
Description | I think it'd be very useful for many Windows software packages to carry a FooConfig.cmake file which could be simply installed among the normal program files, e.g. "C:\Program Files\Foo-x.x.x\FooConfig.cmake". Currently, CMake can only detect such packages if the "/bin" subdirectory is appended to $PATH, or if a custom FindFoo module exists. Please, consider merging this patch which looks for the installation folder directly using a "glob" (non-recursive) expression. The help of the "find_package" command has been updated accordingly (new point 0000005): =========================================================================== ... 4. Search the standard system environment variables. This can be skipped if NO_SYSTEM_ENVIRONMENT_PATH is passed. Path entries ending in "/bin" or "/sbin" are automatically converted to their parent directories. PATH 5. Typical instalation paths. For now this only applies to Windowsfor the paths that match the following pattern (where <name> iscase insensitive): ${ProgramFiles}/<name>* (W) 6. Search project build trees recently configured in a CMake GUI. This can be skipped if NO_CMAKE_BUILDS_PATH is passed. It is intended for the case when a user is building multiple dependent projects one after another. ... =========================================================================== | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | find_package_progfiles.patch (3,938) 2008-12-08 17:22 https://public.kitware.com/Bug/file/1909/find_package_progfiles.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-12-08 17:22 | jlblanco | New Issue | |||
2008-12-08 17:22 | jlblanco | File Added: find_package_progfiles.patch | |||
2008-12-15 10:36 | Bill Hoffman | Status | new => assigned | ||
2008-12-15 10:36 | Bill Hoffman | Assigned To | => Brad King | ||
2008-12-16 11:22 | Brad King | Note Added: 0014372 | |||
2008-12-16 11:23 | Brad King | Note Edited: 0014372 | |||
2008-12-16 11:23 | Brad King | Note Edited: 0014372 | |||
2008-12-17 03:14 | jlblanco | Note Added: 0014380 | |||
2008-12-17 09:24 | Brad King | Note Added: 0014382 | |||
2008-12-17 09:25 | Brad King | Status | assigned => closed | ||
2008-12-17 09:25 | Brad King | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|