Skip to content

Commit

Permalink
Maintenance.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny authored May 29, 2024
2 parents df76412 + 9733434 commit 9aff51e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
10 changes: 5 additions & 5 deletions src/3rdparty/libcurl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@ if(LIBOPENCOR_PREBUILT_LIBCURL)
if(RELEASE_MODE)
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
2263a79bc3cbed3bd3dd7b6f3f8a4d6d275fff03)
3714d2514e098a3ed0d0cb8c8a5bdd92a8f25d48)
else()
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
85a193ace0817a0911e6872fd39be55a6282ecd6)
e77b33d053ceaf86701427fb1c935d2acbb4b920)
endif()
elseif(APPLE)
if(INTEL_MODE)
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
cb404fb788b0723741ef017638909f110aa21b71)
b3e3f894b02fccd3dfa7a40efc67bc2f7b86602b)
else()
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
d9810db1c8e59ec58f691239bba876443263ac03)
d722a61e3793935149f99be6d22dd2caab12564b)
endif()
else()
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
01e1b34073fd5e26ff81fd97c6c6730f9398443a)
a8079a1e656b374280ef896ed076b862d704921e)
endif()
else()
# Build our package.
Expand Down
13 changes: 6 additions & 7 deletions src/3rdparty/libssh2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,26 @@ if(LIBOPENCOR_PREBUILT_LIBSSH2)
if(RELEASE_MODE)
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
af719d88ecb750983ec9d6c6ca5cea456b58bc5b)
9688b2a91f43b7789bc146f37aff90b3d6623db4)
else()
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
e0b998b00415258d9e335d005ae2a07e4f2a19b3)
900d0364ec5eb5cda48b262baae270a173ccbaee)
endif()
elseif(APPLE)
if(INTEL_MODE)
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
fc6a42100feb766cb050938ebd0da3db26576c46)
276a86463fc431e89600f533bd3b13133c22b326)
else()
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
daa12bcce6e69da42a25c0351df2e412e3d7b976)
40c2e04655173653007519ffd34b87d19f101162)
endif()
else()
retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION}
${PACKAGE_REPOSITORY} ${RELEASE_TAG}
f28e2918a1af667a2609f31e628c6e94bb7610ab)
e30e3fa0fce8542692cd6f97ecf6eb663b5a4887)
endif()
else()
# Build our package.
Expand Down Expand Up @@ -77,8 +77,7 @@ else()

file(READ ${CONFIG_FILE} FILE_CONTENTS)

string(REPLACE "${OPENSSL_LIBCRYPTO_LIBRARY_FILE}" "${OPENSSL_LIBCRYPTO_LIBRARY}" FILE_CONTENTS "${FILE_CONTENTS}")
string(REPLACE "${OPENSSL_LIBSSL_LIBRARY_FILE}" "${OPENSSL_LIBSSL_LIBRARY}" FILE_CONTENTS "${FILE_CONTENTS}")
string(REGEX REPLACE "INTERFACE_LINK_LIBRARIES \"[^\"]*\"" "INTERFACE_LINK_LIBRARIES \"OpenSSL::libssl;OpenSSL::libcrypto\"" FILE_CONTENTS "${FILE_CONTENTS}")

file(WRITE ${CONFIG_FILE} "${FILE_CONTENTS}")

Expand Down

0 comments on commit 9aff51e

Please sign in to comment.