This updates the libraries dependencies for VFX platform 2023, and adds various new libraries. It also enables Python bindings and switches from static to shared for various libraries. The precompiled libraries for all platforms will be updated to these new versions in the coming weeks. New: Fribidi 1.0.12 Harfbuzz 5.1.0 MaterialX 1.38.6 (shared lib with python bindings) Minizipng 3.0.7 Pybind11 2.10.1 Shaderc 2022.3 Vulkan 1.2.198 Updated: Boost 1.8.0 (shared lib) Cython 0.29.30 Numpy 1.23.2 OpenColorIO 2.2.0 (shared lib with python bindings) OpenImageIO 2.4.6.0 (shared lib with python bindings) OpenSubdiv 3.5.0 OpenVDB 10.0.0 (shared lib with python bindings) OSL 1.12.7.1 (enable nvptx backend) TBB (shared lib) USD 22.11 (shared lib with python bindings, enable hydra) yaml-cpp 0.8.0 Includes contributions by Ray Molenkamp, Brecht Van Lommel, Georgiy Markelov and Campbell Barton. Ref T99618
28 lines
1.2 KiB
CMake
28 lines
1.2 KiB
CMake
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
ExternalProject_Add(external_wayland
|
|
URL file://${PACKAGE_DIR}/${WAYLAND_FILE}
|
|
DOWNLOAD_DIR ${DOWNLOAD_DIR}
|
|
URL_HASH ${WAYLAND_HASH_TYPE}=${WAYLAND_HASH}
|
|
PREFIX ${BUILD_DIR}/wayland
|
|
PATCH_COMMAND ${PATCH_CMD} -d ${BUILD_DIR}/wayland/src/external_wayland < ${PATCH_DIR}/wayland.diff
|
|
# Use `-E` so the `PKG_CONFIG_PATH` can be defined to link against our own LIBEXPAT & LIBXML2.
|
|
#
|
|
# NOTE: passing link args "ffi/lib" should not be needed, but
|
|
# `pkgconfig` would incorrectly look in "ffi/lib/../lib64" otherwise.
|
|
#
|
|
# NOTE: `-lm` is needed for `libxml2` which is a static library that uses `libm.so`,
|
|
# without this, math symbols such as `floor` aren't found.
|
|
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env PKG_CONFIG_PATH=${LIBDIR}/expat/lib/pkgconfig:${LIBDIR}/xml2/lib/pkgconfig:${LIBDIR}/ffi/lib/pkgconfig:$PKG_CONFIG_PATH
|
|
${MESON} --prefix ${LIBDIR}/wayland -Ddocumentation=false -Dtests=false -D "c_link_args=-L${LIBDIR}/ffi/lib -lm" . ../external_wayland
|
|
BUILD_COMMAND ninja
|
|
INSTALL_COMMAND ninja install
|
|
)
|
|
|
|
add_dependencies(
|
|
external_wayland
|
|
external_expat
|
|
external_xml2
|
|
external_ffi
|
|
)
|