Set openssl osx target properly

This commit is contained in:
SoftFever
2023-11-19 16:45:36 +08:00
parent e2aff5d9f1
commit f994f77d5d

View File

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