Set openssl osx target properly

This commit is contained in:
SoftFever 2023-11-19 16:45:36 +08:00
parent ebbe5a4d80
commit 0e6197f0a7

View file

@ -19,7 +19,7 @@ if(WIN32)
set(_install_cmd nmake install_sw )
else()
if(APPLE)
set(_conf_cmd ./Configure )
set(_conf_cmd export MACOSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET} && ./Configure )
else()
set(_conf_cmd "./config")
endif()