Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 30c1846

Browse files
committed
chore: macos
1 parent bbe40dc commit 30c1846

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

engine/cmake/curl.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
include(FetchContent)
22

3+
if(APPLE)
4+
set(OPENSSL_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/../build_deps/openssl)
5+
set(OPENSSL_INCLUDE_DIR ${OPENSSL_INSTALL_DIR}/include/openssl)
6+
set(OPENSSL_ROOT_DIR ${OPENSSL_INSTALL_DIR}/lib64)
7+
endif()
8+
39
FetchContent_Declare(curl
410
GIT_REPOSITORY https://github.com/curl/curl.git
511
GIT_TAG curl-8_12_1

engine/cmake/drogon.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ include(FetchContent)
22

33
set(USE_OSSP_UUID TRUE)
44

5+
if(APPLE)
6+
set(OPENSSL_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/../build_deps/openssl)
7+
set(OPENSSL_INCLUDE_DIR ${OPENSSL_INSTALL_DIR}/include/openssl)
8+
set(OPENSSL_ROOT_DIR ${OPENSSL_INSTALL_DIR}/lib64)
9+
endif()
510

611
set(ZLIB_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/../build_deps/zlib/install)
712
set(ZLIB_INCLUDE_DIR ${ZLIB_INSTALL_DIR}/include)

0 commit comments

Comments
 (0)