Fix cmake error on unixes

This commit is contained in:
tamasmeszaros 2020-05-07 12:46:37 +02:00
parent 4cef33c50f
commit 8969613a5a

6
deps/CMakeLists.txt vendored
View file

@ -152,8 +152,10 @@ include(MPFR/MPFR.cmake)
include(CGAL/CGAL.cmake)
include(wxWidgets/wxWidgets.cmake)
add_dependencies(dep_blosc ${ZLIB_PKG})
add_dependencies(dep_openexr ${ZLIB_PKG})
if (ZLIB_PKG)
add_dependencies(dep_blosc ${ZLIB_PKG})
add_dependencies(dep_openexr ${ZLIB_PKG})
endif ()
if (MSVC)