The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=13241
======================================================================
Reported By: Brad King
Assigned To: Alex Neundorf
======================================================================
Project: CMake
Issue ID: 13241
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Target Version: CMake 2.8.9
======================================================================
Date Submitted: 2012-05-21 11:49 EDT
Last Modified: 2012-05-21 11:49 EDT
======================================================================
Summary: 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.
======================================================================
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
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers