mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 02:52:00 +08:00
Remove redundant find_package and warning message
This commit is contained in:
parent
d5fbacee2e
commit
5069d6833d
8
deps/CMakeLists.txt
vendored
8
deps/CMakeLists.txt
vendored
@ -153,13 +153,9 @@ if (UNIX)
|
||||
# On UNIX systems (including Apple) ZLIB should be available
|
||||
list(APPEND SYSTEM_PROVIDED_PACKAGES ZLIB)
|
||||
if (APPLE)
|
||||
# Deal with CURL on Apple (See issue #5984 on GH):
|
||||
find_package(CURL QUIET)
|
||||
if (NOT CURL_FOUND)
|
||||
message(WARNING "No CURL dev package found in system, building static library. Mac SDK should include CURL from at least version 10.12. Check your SDK installation.")
|
||||
else ()
|
||||
# Deal with CURL on Apple (See issue #5984 on GH):
|
||||
# Mac SDK should include CURL from at least version 10.12
|
||||
list(APPEND SYSTEM_PROVIDED_PACKAGES CURL)
|
||||
endif ()
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user