MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0013241 | CMake | CMake | public | 2012-05-21 11:49 | 2012-08-09 19:35 | |||||
| Reporter | Brad King | |||||||||
| Assigned To | Alex Neundorf | |||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||
| Status | closed | Resolution | fixed | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | CMake 2.8.8 | |||||||||
| Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | |||||||
| Summary | 0013241: WriteBasicConfigVersionFile produces bad files without CMAKE_SIZEOF_VOID_P | |||||||||
| Description | Modules/BasicConfigVersion-*.cmake.in contain the code # check that the installed version has the same 32/64bit-ness as the one which is currently searching: if(NOT "${CMAKE_SIZEOF_VOID_P}" STREQUAL "@CMAKE_SIZEOF_VOID_P@") math(EXPR installedBits "@CMAKE_SIZEOF_VOID_P@ * 8") set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") set(PACKAGE_VERSION_UNSUITABLE TRUE) endif() When this is configured with an empty CMAKE_SIZEOF_VOID_P the resulting file breaks. This breaks find_package calls that load the version file with an outright error instead of reporting an unsuitable version. | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2012-05-21 11:49 | Brad King | New Issue | ||||||||
| 2012-05-21 11:49 | Brad King | Status | new => assigned | |||||||
| 2012-05-21 11:49 | Brad King | Assigned To | => Alex Neundorf | |||||||
| 2012-05-21 11:50 | Brad King | Relationship added | related to 0012958 | |||||||
| 2012-05-21 11:50 | Brad King | Note Added: 0029525 | ||||||||
| 2012-05-21 16:29 | Alex Neundorf | Note Added: 0029535 | ||||||||
| 2012-05-21 18:53 | Brad King | Note Added: 0029538 | ||||||||
| 2012-05-23 14:51 | Alex Neundorf | Note Added: 0029549 | ||||||||
| 2012-05-23 14:51 | Alex Neundorf | Status | assigned => closed | |||||||
| 2012-05-23 14:51 | Alex Neundorf | Resolution | open => fixed | |||||||
| 2012-08-09 19:35 | David Cole | Fixed in Version | => CMake 2.8.9 | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||