Fix for missing dep_zlib on in deps scripts

This commit is contained in:
tamasmeszaros 2019-03-25 14:06:28 +01:00
parent 27b7e7c6a9
commit c1186340d2

17
deps/CMakeLists.txt vendored
View file

@ -74,6 +74,21 @@ else ()
include("deps-linux.cmake")
endif()
if (MSVC)
add_custom_target(deps ALL
DEPENDS
dep_boost
dep_tbb
dep_libcurl
dep_wxwidgets
dep_gtest
dep_nlopt
dep_zlib # on Windows we still need zlib
)
else()
add_custom_target(deps ALL
DEPENDS
dep_boost
@ -84,5 +99,7 @@ add_custom_target(deps ALL
dep_nlopt
)
endif()
# Note: I'm not using any of the LOG_xxx options in ExternalProject_Add() commands
# because they seem to generate bogus build files (possibly a bug in ExternalProject).