This commit includes the changes to the build system, updated hashes to the actual new libraries as well as a required test update. * DPC++ 6.2.0 RC * freetype 2.13.3 * HIP 6.4.5010 * IGC 2.16.0 * ISPC 1.28.0 * libharu 2.4.5 * libpng 1.6.50 * libvpx 1.15.2 * libxml2 2.14.5 * LLVM 20.1.8 * Manifold 3.2.1 * MaterialX 1.39.3 * OpenColorIO 2.4.2 * openexr 3.3.5 * OpenImageIO 3.0.9.1 * openjpeg 2.5.3 * OpenShadingLanguage 1.14.7.0 * openssl 3.5.2 * Python 3.11.13 * Rubber Band 4.0.0 * ShaderC 2025.3 * sqlite 3.50.4 * USD 25.08 * Wayland 1.24.0 Ref #138940 Co-authored-by: Ray Molenkamp <github@lazydodo.com> Co-authored-by: Jesse Yurkovich <jesse.y@gmail.com> Co-authored-by: Brecht Van Lommel <brecht@blender.org> Co-authored-by: Nikita Sirgienko <nikita.sirgienko@intel.com> Co-authored-by: Sybren A. Stüvel <sybren@blender.org> Co-authored-by: Kace <lakacey03@gmail.com> Co-authored-by: Sebastian Parborg <sebastian@blender.org> Co-authored-by: Anthony Roberts <anthony.roberts@linaro.org> Co-authored-by: Jonas Holzman <jonas@holzman.fr> Pull Request: https://projects.blender.org/blender/blender/pulls/144479
41 lines
1.0 KiB
CMake
41 lines
1.0 KiB
CMake
# SPDX-FileCopyrightText: 2017-2022 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(HARU_EXTRA_ARGS
|
|
-DBUILD_SHARED_LIBS=OFF
|
|
-DLIBHPDF_EXAMPLES=OFF
|
|
-DLIBHPDF_ENABLE_EXCEPTIONS=ON
|
|
)
|
|
|
|
ExternalProject_Add(external_haru
|
|
URL file://${PACKAGE_DIR}/${HARU_FILE}
|
|
DOWNLOAD_DIR ${DOWNLOAD_DIR}
|
|
URL_HASH ${HARU_HASH_TYPE}=${HARU_HASH}
|
|
PREFIX ${BUILD_DIR}/haru
|
|
|
|
CMAKE_ARGS
|
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=${LIBDIR}/haru
|
|
${DEFAULT_CMAKE_FLAGS} ${HARU_EXTRA_ARGS}
|
|
|
|
INSTALL_DIR ${LIBDIR}/haru
|
|
)
|
|
|
|
if(WIN32)
|
|
if(BUILD_MODE STREQUAL Release)
|
|
ExternalProject_Add_Step(external_haru after_install
|
|
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
|
${LIBDIR}/haru/include
|
|
${HARVEST_TARGET}/haru/include
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
${LIBDIR}/haru/lib/hpdf.lib
|
|
${HARVEST_TARGET}/haru/lib/hpdf.lib
|
|
|
|
DEPENDEES install
|
|
)
|
|
endif()
|
|
else()
|
|
harvest(external_haru haru/include haru/include "*.h")
|
|
harvest(external_haru haru/lib haru/lib "*.a")
|
|
endif()
|