-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release notes: https://cmake.org/cmake/help/latest/release/3.31.html Refresh patches: - 120-curl-fix-libressl-linking.patch - 130-bootstrap_parallel_make_flag.patch - 150-zstd-libarchive.patch - 160-disable_xcode_generator.patch Signed-off-by: Jack Sun <[email protected]> Link: openwrt/openwrt#17056 Signed-off-by: Hauke Mehrtens <[email protected]>
- Loading branch information
1 parent
ff5f77e
commit 4234d5e
Showing
5 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,11 @@ Signed-off-by: Jo-Philipp Wich <[email protected]> | |
--- | ||
--- a/Utilities/cmcurl/CMakeLists.txt | ||
+++ b/Utilities/cmcurl/CMakeLists.txt | ||
@@ -648,6 +648,14 @@ if(CURL_USE_OPENSSL) | ||
@@ -775,7 +775,14 @@ if(CURL_USE_OPENSSL) | ||
endif() | ||
set(SSL_ENABLED ON) | ||
set(_ssl_enabled ON) | ||
set(USE_OPENSSL ON) | ||
- | ||
+ check_library_exists("rt" clock_gettime "" HAVE_LIBRT) | ||
+ if(HAVE_LIBRT) | ||
+ list(APPEND OPENSSL_LIBRARIES rt) | ||
|
@@ -34,4 +35,4 @@ Signed-off-by: Jo-Philipp Wich <[email protected]> | |
+ endif() | ||
list(APPEND CURL_LIBS ${OPENSSL_LIBRARIES}) | ||
include_directories(${OPENSSL_INCLUDE_DIR}) | ||
|
||
list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "openssl") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters