File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -435,22 +435,24 @@ tasks:
435435 )" > "{{.G_DEPS_CORE_CMAKE_SETTINGS_DIR}}/{{.LIB_NAME}}.cmake"
436436
437437 zlib :
438+ internal : true
439+ vars :
440+ LIB_NAME : " zlib"
438441 run : " once"
439442 cmds :
440443 - task : " utils:install-remote-cmake-lib"
441444 vars :
442445 CMAKE_GEN_ARGS :
443446 - " -DCMAKE_BUILD_TYPE=Release"
444447 - " -DCMAKE_INSTALL_MESSAGE=LAZY"
448+ - " -DCMAKE_INSTALL_PREFIX={{.G_DEPS_CORE_DIR}}/{{.LIB_NAME}}-install"
449+ - " -DZLIB_BUILD_EXAMPLES=OFF"
450+ - " -DZLIB_BUILD_MINIZIP=OFF"
445451 - " -DZLIB_BUILD_SHARED=ON"
446452 - " -DZLIB_BUILD_STATIC=ON"
447453 - " -DZLIB_BUILD_TESTING=OFF"
448- - " -DZLIB_BUILD_EXAMPLES=OFF"
449- - " -DZLIB_BUILD_MINIZIP=OFF"
450454 - " -DZLIB_INSTALL=ON"
451- - " -DCMAKE_INSTALL_LIBDIR=lib"
452- - " -DCMAKE_INSTALL_PREFIX={{.G_DEPS_CORE_DIR}}/zlib-install"
453- LIB_NAME : " zlib"
455+ LIB_NAME : " {{.LIB_NAME}}"
454456 TARBALL_SHA256 : " 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
455457 TARBALL_URL : " https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz"
456458
You can’t perform that action at this time.
0 commit comments