mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-07 12:08:59 +08:00
Remove redundant find_package and warning message
This commit is contained in:
parent
d5fbacee2e
commit
5069d6833d
6
deps/CMakeLists.txt
vendored
6
deps/CMakeLists.txt
vendored
@ -154,14 +154,10 @@ if (UNIX)
|
|||||||
list(APPEND SYSTEM_PROVIDED_PACKAGES ZLIB)
|
list(APPEND SYSTEM_PROVIDED_PACKAGES ZLIB)
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
# Deal with CURL on Apple (See issue #5984 on GH):
|
# Deal with CURL on Apple (See issue #5984 on GH):
|
||||||
find_package(CURL QUIET)
|
# Mac SDK should include CURL from at least version 10.12
|
||||||
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 ()
|
|
||||||
list(APPEND SYSTEM_PROVIDED_PACKAGES CURL)
|
list(APPEND SYSTEM_PROVIDED_PACKAGES CURL)
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
|
||||||
|
|
||||||
|
|
||||||
list(APPEND SYSTEM_PROVIDED_PACKAGES ${${PROJECT_NAME}_PLATFORM_PACKAGES})
|
list(APPEND SYSTEM_PROVIDED_PACKAGES ${${PROJECT_NAME}_PLATFORM_PACKAGES})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user