Merge branch 'blender-v4.5-release'

This commit is contained in:
Jonas Holzman
2025-06-16 08:48:11 +02:00
2 changed files with 11 additions and 1 deletions

View File

@@ -32,10 +32,12 @@ set(OPENCOLORIO_EXTRA_ARGS
)
if(APPLE)
# Work around issue where minizip-ng_LIBRARY assumes -ng in file name.
set(OPENCOLORIO_EXTRA_ARGS
${OPENCOLORIO_EXTRA_ARGS}
# Work around issue where minizip-ng_LIBRARY assumes -ng in file name.
-Dminizip_LIBRARY=${LIBDIR}/minizipng/lib/libminizip${LIBEXT}
# Work around issue where homebrew Imath's can be prioritized over our own dependency during linking if installed.
-DImath_LIBRARY=${LIBDIR}/imath/lib/libImath${SHAREDLIBEXT}
)
endif()

View File

@@ -18,6 +18,14 @@ set(TIFF_EXTRA_ARGS
-Dsphinx=OFF
)
if(APPLE)
set(TIFF_EXTRA_ARGS
${TIFF_EXTRA_ARGS}
# Work around issue where homebrew's libdeflate can be prioritized over our own dependency during linking if installed.
-DDeflate_LIBRARY=${LIBDIR}/deflate/lib/libdeflate${LIBEXT}
)
endif()
ExternalProject_Add(external_tiff
URL file://${PACKAGE_DIR}/${TIFF_FILE}
DOWNLOAD_DIR ${DOWNLOAD_DIR}