mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 14:20:34 +05:00
03f73094e9
Separate fils for zlib, TCL/TK and OCC dependencies to fix the superbuild with USE_GUI=OFF Download dependencies from github.com/NGSolve/ngsolve_dependencies
17 lines
364 B
CMake
17 lines
364 B
CMake
if(WIN32)
|
|
|
|
ExternalProject_Add(project_win_zlib
|
|
URL ${ZLIB_DOWNLOAD_URL_WIN}
|
|
UPDATE_COMMAND "" # Disable update
|
|
BUILD_IN_SOURCE 1
|
|
CONFIGURE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory . ${CMAKE_INSTALL_PREFIX}
|
|
LOG_DOWNLOAD 1
|
|
)
|
|
|
|
|
|
list(APPEND NETGEN_DEPENDENCIES project_win_zlib)
|
|
endif(WIN32)
|
|
|