mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 23:05:04 -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
2
deps/OpenCSG/CMakeLists.txt.in
vendored
2
deps/OpenCSG/CMakeLists.txt.in
vendored
|
@ -9,6 +9,8 @@ elseif (MSVC)
|
|||
endif()
|
||||
|
||||
find_package(OpenGL REQUIRED)
|
||||
|
||||
set(GLEW_VERBOSE ON)
|
||||
find_package(GLEW 1.13.0 REQUIRED)
|
||||
|
||||
set(_srcfiles
|
||||
|
|
4
deps/OpenCSG/OpenCSG.cmake
vendored
4
deps/OpenCSG/OpenCSG.cmake
vendored
|
@ -6,6 +6,10 @@ prusaslicer_add_cmake_project(OpenCSG
|
|||
DEPENDS dep_GLEW
|
||||
)
|
||||
|
||||
if (TARGET dep_ZLIB)
|
||||
add_dependencies(dep_OpenCSG dep_ZLIB)
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
add_debug_dep(dep_OpenCSG)
|
||||
endif ()
|
Loading…
Add table
Add a link
Reference in a new issue