MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0010339 | CMake | CPack | public | 2010-02-26 09:22 | 2010-12-14 18:50 | |||||
Reporter | Marcelo Fontenele S Santos | |||||||||
Assigned To | Eric NOULARD | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | won't fix | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake-2-8 | |||||||||
Target Version | Fixed in Version | CMake-2-8 | ||||||||
Summary | 0010339: RPM generator does not understand path in destination | |||||||||
Description | According to the documentation, the DESTINATION parameter of the INSTALL command will use ${CMAKE_INSTALL_PREFIX} as a prefix if no absolute path is give. So INSTALL( FILES "my.sh" DESTINATION ${CMAKE_INSTALL_PREFIX}/bin ) and INSTALL( FILES "my.sh" DESTINATION bin ) means the same thing. The problem is that the RPM generator for CPack does not work with the first option. It does not put my.sh in the generated rpm. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | Example CMakeLists.txt that does not work (removing ${CMAKE_INSTALL_PREFIX}/ it does): cmake_minimum_required(VERSION 2.6) SET(CPACK_GENERATOR "RPM") SET(CPACK_PACKAGE_VERSION_MAJOR 1) SET(CPACK_PACKAGE_VERSION_MINOR 0) SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "a test") SET(CPACK_PACKAGE_CONTACT "test@example.com") SET(CPACK_PACKAGE_VENDOR "ACME Inc.") SET(CPACK_PACKAGE_FILE_NAME "test") INSTALL( FILES "test.sh" DESTINATION ${CMAKE_INSTALL_PREFIX}/bin ) INCLUDE(CPack) | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2010-02-26 09:22 | Marcelo Fontenele S Santos | New Issue | ||||||||
2010-02-26 13:22 | Bill Hoffman | Note Added: 0019648 | ||||||||
2010-02-26 13:22 | Bill Hoffman | Status | new => assigned | |||||||
2010-02-26 13:22 | Bill Hoffman | Assigned To | => Bill Hoffman | |||||||
2010-07-06 02:37 | Eric NOULARD | Assigned To | Bill Hoffman => Eric NOULARD | |||||||
2010-07-06 02:38 | Eric NOULARD | Relationship added | related to 0007000 | |||||||
2010-07-09 18:38 | Eric NOULARD | Note Added: 0021342 | ||||||||
2010-07-09 18:40 | Eric NOULARD | Note Added: 0021343 | ||||||||
2010-07-09 18:40 | Eric NOULARD | Status | assigned => resolved | |||||||
2010-07-09 18:40 | Eric NOULARD | Fixed in Version | => CMake-2-8 | |||||||
2010-07-09 18:40 | Eric NOULARD | Resolution | open => won't fix | |||||||
2010-12-14 18:50 | David Cole | Note Added: 0024102 | ||||||||
2010-12-14 18:50 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|