File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,19 @@ if(WIN32)
7171 ${CMAKE_STATIC_LIBRARY_PREFIX}libeay32${CMAKE_STATIC_LIBRARY_SUFFIX}
7272 ${CMAKE_STATIC_LIBRARY_PREFIX}ssleay32${CMAKE_STATIC_LIBRARY_SUFFIX}
7373 )
74- else()
74+
75+ else()
76+ if(APPLE)
77+ set(CONFIGURECOMMAND ./Configure darwin64-x86_64-cc)
78+ else()
79+ set(CONFIGURECOMMAND ./config)
80+ endif()
81+
82+
7583 ExternalProject_Add(
7684 openssl
7785 URL https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz
78- CONFIGURE_COMMAND ./config ${OPENSSLBUILDOPTIONS} ${PERLCONFIGURECOMMAND} "--prefix=${GLOBAL_OUTPUT_PATH}/openssl"
86+ CONFIGURE_COMMAND ${CONFIGURECOMMAND} ${OPENSSLBUILDOPTIONS} ${PERLCONFIGURECOMMAND} "--prefix=${GLOBAL_OUTPUT_PATH}/openssl"
7987 BUILD_COMMAND make
8088 BUILD_IN_SOURCE 1
8189 INSTALL_COMMAND make install
You can’t perform that action at this time.
0 commit comments