mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-12 15:52:55 +00:00
autotools: Sync CMake templates with CMake 3.24
This commit is contained in:
parent
a256094b1d
commit
49c420cd2d
2 changed files with 2 additions and 7 deletions
|
@ -52,13 +52,8 @@ else()
|
|||
endif()
|
||||
|
||||
|
||||
# if the installed project requested no architecture check, don't perform the check
|
||||
if("FALSE")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
||||
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "@ac_cv_sizeof_void_p@" STREQUAL "")
|
||||
if(CMAKE_SIZEOF_VOID_P STREQUAL "" OR "@ac_cv_sizeof_void_p@" STREQUAL "")
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
|||
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.8.3...3.23)
|
||||
cmake_policy(VERSION 2.8.3...3.24)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue