CI: Fix macOS 10.13 crashes due to unsupported library symbols
This commit is contained in:
parent
6b2830b16f
commit
20bb465047
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
runs-on: [macos-latest]
|
runs-on: [macos-latest]
|
||||||
env:
|
env:
|
||||||
MIN_MACOS_VERSION: '10.13'
|
MIN_MACOS_VERSION: '10.13'
|
||||||
MACOS_DEPS_VERSION: '2020-12-11'
|
MACOS_DEPS_VERSION: '2020-12-19'
|
||||||
VLC_VERSION: '3.0.8'
|
VLC_VERSION: '3.0.8'
|
||||||
SPARKLE_VERSION: '1.23.0'
|
SPARKLE_VERSION: '1.23.0'
|
||||||
QT_VERSION: '5.15.2'
|
QT_VERSION: '5.15.2'
|
||||||
|
@ -36,6 +36,21 @@ find_path(CURL_INCLUDE_DIR
|
|||||||
PATH_SUFFIXES
|
PATH_SUFFIXES
|
||||||
include)
|
include)
|
||||||
|
|
||||||
|
if(APPLE)
|
||||||
|
find_library(CURL_LIB
|
||||||
|
NAMES ${_CURL_LIBRARIES} curl libcurl
|
||||||
|
HINTS
|
||||||
|
ENV curlPath${_lib_suffix}
|
||||||
|
ENV curlPath
|
||||||
|
ENV DepsPath${_lib_suffix}
|
||||||
|
ENV DepsPath
|
||||||
|
${curlPath${_lib_suffix}}
|
||||||
|
${curlPath}
|
||||||
|
${DepsPath${_lib_suffix}}
|
||||||
|
${DepsPath}
|
||||||
|
${_CURL_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
else()
|
||||||
find_library(CURL_LIB
|
find_library(CURL_LIB
|
||||||
NAMES ${_CURL_LIBRARIES} curl libcurl
|
NAMES ${_CURL_LIBRARIES} curl libcurl
|
||||||
HINTS
|
HINTS
|
||||||
@ -59,6 +74,7 @@ find_library(CURL_LIB
|
|||||||
../bin${_lib_suffix} ../bin
|
../bin${_lib_suffix} ../bin
|
||||||
"build/Win${_lib_suffix}/VC12/DLL Release - DLL Windows SSPI"
|
"build/Win${_lib_suffix}/VC12/DLL Release - DLL Windows SSPI"
|
||||||
"../build/Win${_lib_suffix}/VC12/DLL Release - DLL Windows SSPI")
|
"../build/Win${_lib_suffix}/VC12/DLL Release - DLL Windows SSPI")
|
||||||
|
endif()
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(Libcurl DEFAULT_MSG CURL_LIB CURL_INCLUDE_DIR)
|
find_package_handle_standard_args(Libcurl DEFAULT_MSG CURL_LIB CURL_INCLUDE_DIR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user