diff -ur ../cmake-2.8.12-orig/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in ./Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
old
|
new
|
|
17 | 17 | set(PACKAGE_VERSION_EXACT TRUE) |
18 | 18 | endif() |
19 | 19 | endif() |
20 | | |
21 | | # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: |
22 | | if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "@CMAKE_SIZEOF_VOID_P@" STREQUAL "") |
23 | | return() |
24 | | endif() |
25 | | |
26 | | # check that the installed version has the same 32/64bit-ness as the one which is currently searching: |
27 | | if(NOT "${CMAKE_SIZEOF_VOID_P}" STREQUAL "@CMAKE_SIZEOF_VOID_P@") |
28 | | math(EXPR installedBits "@CMAKE_SIZEOF_VOID_P@ * 8") |
29 | | set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") |
30 | | set(PACKAGE_VERSION_UNSUITABLE TRUE) |
31 | | endif() |
diff -ur ../cmake-2.8.12-orig/Modules/BasicConfigVersion-ExactVersion.cmake.in ./Modules/BasicConfigVersion-ExactVersion.cmake.in
old
|
new
|
|
32 | 32 | if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}") |
33 | 33 | set(PACKAGE_VERSION_EXACT TRUE) |
34 | 34 | endif() |
35 | | |
36 | | |
37 | | # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: |
38 | | if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "@CMAKE_SIZEOF_VOID_P@" STREQUAL "") |
39 | | return() |
40 | | endif() |
41 | | |
42 | | # check that the installed version has the same 32/64bit-ness as the one which is currently searching: |
43 | | if(NOT "${CMAKE_SIZEOF_VOID_P}" STREQUAL "@CMAKE_SIZEOF_VOID_P@") |
44 | | math(EXPR installedBits "@CMAKE_SIZEOF_VOID_P@ * 8") |
45 | | set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") |
46 | | set(PACKAGE_VERSION_UNSUITABLE TRUE) |
47 | | endif() |
diff -ur ../cmake-2.8.12-orig/Modules/BasicConfigVersion-SameMajorVersion.cmake.in ./Modules/BasicConfigVersion-SameMajorVersion.cmake.in
old
|
new
|
|
31 | 31 | set(PACKAGE_VERSION_EXACT TRUE) |
32 | 32 | endif() |
33 | 33 | endif() |
34 | | |
35 | | |
36 | | # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: |
37 | | if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "@CMAKE_SIZEOF_VOID_P@" STREQUAL "") |
38 | | return() |
39 | | endif() |
40 | | |
41 | | # check that the installed version has the same 32/64bit-ness as the one which is currently searching: |
42 | | if(NOT "${CMAKE_SIZEOF_VOID_P}" STREQUAL "@CMAKE_SIZEOF_VOID_P@") |
43 | | math(EXPR installedBits "@CMAKE_SIZEOF_VOID_P@ * 8") |
44 | | set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") |
45 | | set(PACKAGE_VERSION_UNSUITABLE TRUE) |
46 | | endif() |