Changes between Initial Version and Version 1 of Ticket #66874, comment 1


Ignore:
Timestamp:
Feb 8, 2023, 10:33:59 PM (21 months ago)
Author:
RJVB (René Bertin)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #66874, comment 1

    initial v1  
    77reinplace "/ have CMAKE_SIZEOF_VOID_P/,\$d" ${destroot}${prefix}/lib/cmake/expat-${version}/expat-config-version.cmake
    88}}}
    9 
    10 Alternatively, create a manual version of the file that ends with
    11 
    12 {{{
    13 # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
    14 if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "")
    15   return()
    16 endif()
    17 
    18 # check that the installed version has the same 32/64bit-ness as the one which is currently searching:
    19 if(CMAKE_SIZEOF_VOID_P STREQUAL "4" OR CMAKE_SIZEOF_VOID_P STREQUAL "8")
    20   math(EXPR installedBits "${CMAKE_SIZEOF_VOID_P} * 8")
    21   set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
    22   set(PACKAGE_VERSION_UNSUITABLE TRUE)
    23 endif()
    24 }}}