Fix macos deps build (#2291)

This commit is contained in:
Noisyfox
2023-10-03 23:27:33 +08:00
committed by GitHub
parent 466538e44e
commit 03fec0841b
+1 -1
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 ()