Skip to content

Commit

Permalink
Update build-from-src.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
beef9999 authored Dec 21, 2023
1 parent e9dedfb commit 2b5fd98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMake/build-from-src.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function(build_from_src [dep])
URL ${PHOTON_OPENSSL_SOURCE}
URL_MD5 bad68bb6bd9908da75e2c8dedc536b29
BUILD_IN_SOURCE ON
CONFIGURE_COMMAND ./config -fPIC --prefix=${BINARY_DIR} --openssldir=${BINARY_DIR} shared
CONFIGURE_COMMAND ./config -fPIC --prefix=${BINARY_DIR} --openssldir=${BINARY_DIR}
BUILD_COMMAND make -j ${NumCPU}
INSTALL_COMMAND make install
)
Expand Down Expand Up @@ -114,6 +114,7 @@ function(build_from_src [dep])
)
set(CURL_INCLUDE_DIRS ${BINARY_DIR}/include PARENT_SCOPE)
set(CURL_LIBRARIES ${BINARY_DIR}/lib/libcurl.a PARENT_SCOPE)
add_dependencies(curl openssl)
endif ()

list(APPEND actually_built ${dep})
Expand Down

0 comments on commit 2b5fd98

Please sign in to comment.