summaryrefslogtreecommitdiff
path: root/indra/cmake/CURL.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-09-29 20:10:51 +0800
committerErik Kundiman <erik@megapahit.org>2024-09-29 20:10:51 +0800
commit286bec6b4304030590e7f5ba7b797d00ebbc83ad (patch)
tree0e8e6ca5148ad0d0587bfb1b6bbb6afc31fa94b1 /indra/cmake/CURL.cmake
parent7fdb350e487acc35b26de6e243ff27f94185d3a5 (diff)
Fix extracted OpenSSL1.1.1w dir name
and specialise it just for FreeBSD, along with other fixes to get it building again on FreeBSD with an empty packages folder.
Diffstat (limited to 'indra/cmake/CURL.cmake')
-rw-r--r--indra/cmake/CURL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/CURL.cmake b/indra/cmake/CURL.cmake
index c1ef0c3447..678e7c43c8 100644
--- a/indra/cmake/CURL.cmake
+++ b/indra/cmake/CURL.cmake
@@ -27,7 +27,7 @@ use_prebuilt_binary(curl)
)
endif (NOT ${curl_archs} STREQUAL ${CMAKE_OSX_ARCHITECTURES})
endif (DARWIN)
-elseif (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/curl_installed OR NOT ${curl_installed} EQUAL 0)
+elseif (CMAKE_SYSTEM_NAME MATCHES FreeBSD AND (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/curl_installed OR NOT ${curl_installed} EQUAL 0))
if (NOT EXISTS ${CMAKE_BINARY_DIR}/3p-curl-7.54.1-r1.tar.gz)
file(DOWNLOAD
https://github.com/secondlife/3p-curl/archive/refs/tags/v7.54.1-r1.tar.gz