Fix macos deps build (#2291)

This commit is contained in:
Noisyfox 2023-10-03 10:27:33 -05:00 committed by GitHub
parent 466538e44e
commit 03fec0841b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ orcaslicer_add_cmake_project(CURL
${_curl_platform_flags}
)
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
if (APPLE OR (CMAKE_SYSTEM_NAME STREQUAL "Linux"))
add_dependencies(dep_CURL dep_OpenSSL)
endif ()