MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015665 | CMake | CPack | public | 2015-07-27 08:34 | 2016-06-10 14:31 |
| Reporter | Lectem | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | Debian | OS Version | ||
| Product Version | CMake 3.2.3 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015665: CPack and absolute paths | ||||
| Description | When running make package (or cpack), with a target having an absolute path as its destination, it will try to install it there instead of using the temporary folder. When using this script : add_library(mylib foo.cpp) install(TARGETS mylib DESTINATION /some/custom/dir) include(CPack) cpack will install mylib to /some/custom/dir which is obviously not what we want. Plus, generators such as TGZ will not include those files, while they actually support absolute paths. What I suggest is 1. Do not make the install, or redirect it in a temp directory 2. Trigger a Warning/Error | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-07-27 08:34 | Lectem | New Issue | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042812 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||