View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042812) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |