mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Fix zlib dependencies and CMAKE_MODULE_PATH forwarding
This commit is contained in:
parent
c91046925a
commit
4a4d8b4e26
7 changed files with 102 additions and 30 deletions
5
deps/deps-unix-common.cmake
vendored
5
deps/deps-unix-common.cmake
vendored
|
@ -7,7 +7,10 @@ else ()
|
|||
set(TBB_MINGW_WORKAROUND "")
|
||||
endif ()
|
||||
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(ZLIB QUIET)
|
||||
if (NOT ZLIB_FOUND)
|
||||
include(ZLIB/ZLIB.cmake)
|
||||
endif ()
|
||||
|
||||
ExternalProject_Add(dep_tbb
|
||||
EXCLUDE_FROM_ALL 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue