MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014515 | CMake | CMake | public | 2013-10-28 05:20 | 2014-03-05 09:58 |
Reporter | icando | ||||
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | Linux | OS | Linux | OS Version | |
Product Version | CMake 2.8.12 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014515: Add variable PROTOBUF_ROOT to FindProtobuf.cmake | ||||
Description | FindProtobuf.cmake doesn't allow specifying non-standard install location for protobuf. It would be nice to add a variable PROTOBUF_ROOT that tells FindProtobuf.cmake to look into the directory. My current workaround is to use CMAKE_FIND_ROOT_PATH. I need to first backup CMAKE_FIND_ROOT_PATH, set it to PROTOBUF_ROOT (I passed it in throught -DPROTOBUF_ROOT=xxxx), call find_package, then restore it. This is ugly and it would be cleaner to let FindProtobuf.cmake handle the variable (by adding it to HINTS when using find_library). Thanks. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-10-28 05:20 | icando | New Issue | |||
2013-10-28 08:13 | Brad King | Assigned To | => Philip Lowman | ||
2013-10-28 08:13 | Brad King | Status | new => assigned | ||
2013-10-28 08:15 | Brad King | Note Added: 0034269 | |||
2013-10-28 12:52 | icando | Note Added: 0034273 | |||
2013-10-28 13:26 | Brad King | Note Added: 0034274 | |||
2013-10-28 13:26 | Brad King | Assigned To | Philip Lowman => | ||
2013-10-28 13:26 | Brad King | Status | assigned => resolved | ||
2013-10-28 13:26 | Brad King | Resolution | open => suspended | ||
2014-03-05 09:58 | Robert Maynard | Note Added: 0035300 | |||
2014-03-05 09:58 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|