Fix zlib dependencies and CMAKE_MODULE_PATH forwarding

This commit is contained in:
tamasmeszaros 2019-12-11 13:51:16 +01:00
parent c91046925a
commit 4a4d8b4e26
7 changed files with 102 additions and 30 deletions

View file

@ -9,6 +9,8 @@ elseif (MSVC)
endif()
find_package(OpenGL REQUIRED)
set(GLEW_VERBOSE ON)
find_package(GLEW 1.13.0 REQUIRED)
set(_srcfiles

View file

@ -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 ()