mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-01 12:45:56 +00:00
fix(libSceLibreSsl): pass DOWNLOAD_EXTRACT_TIMESTAMP to the oracle reference only on CMake 3.24 and later
CMake 3.22 and 3.23 do not know the option and read it as part of URL_HASH, so configuring with ANYPS5_LIBRESSL_ORACLE=ON failed there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9bfcec2bbf
commit
cddc4c9f6e
1 file changed
+5
-1
@@ -270,10 +270,14 @@ endif()
|
||||
if(BUILD_TESTING AND ANYPS5_LIBRESSL_ORACLE)
|
||||
include(ExternalProject)
|
||||
set(libressl_reference_build "${CMAKE_BINARY_DIR}/libressl-reference-build")
|
||||
set(libressl_reference_timestamp)
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.24)
|
||||
set(libressl_reference_timestamp DOWNLOAD_EXTRACT_TIMESTAMP ON)
|
||||
endif()
|
||||
ExternalProject_Add(libressl_reference
|
||||
URL https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.5.4.tar.gz
|
||||
URL_HASH SHA256=107a5b522fbb8318d4c3be668075e5e607296f0a9255d71674caa94571336efa
|
||||
DOWNLOAD_EXTRACT_TIMESTAMP ON
|
||||
${libressl_reference_timestamp}
|
||||
PREFIX "${CMAKE_BINARY_DIR}/libressl-reference"
|
||||
BINARY_DIR "${libressl_reference_build}"
|
||||
CMAKE_ARGS
|
||||
|
||||
Reference in new issue
Block a user