Fix for azure pipeline linux agent OpenSSL compiling error

core4
nimetu 3 years ago
parent cbd0cf5955
commit 8436aa794e

@ -155,6 +155,14 @@ IF(WIN32)
ENDIF()
IF(HUNTER_ENABLED)
# This fix is for compiling OpenSSL in Azure Pipeline linux agent where ENV{SYSTEM} == "build"
IF(DEFINED ENV{SYSTEM} AND UNIX AND NOT APPLE)
STRING(TOUPPER "$ENV{SYSTEM}" _tmp)
IF (_tmp STREQUAL "BUILD")
UNSET(ENV{SYSTEM})
ENDIF()
UNSET(_tmp)
ENDIF()
## TODO: hack for freetype hunter package
SET(ON 1)
##

Loading…
Cancel
Save