blender/build_files/build_environment/patches
Ray Molenkamp 3735a4d104 deps_builder: Fix missing Webp support in OIIO build on windows
webp 1.3 changed the filenames on windows to include a `lib` prefix
(ie libwebp.lib rather than webp.lib) now this is a common thing
on linux and cmake has a `CMAKE_FIND_LIBRARY_PREFIXES` variable that
has a list of prefixes to look for during a `find_library` call.

`CMAKE_FIND_LIBRARY_PREFIXES` gets set during the call to the
`project` method in the main CMakeLists of a project. Now for windows
`lib` is *not* a common prefix by CMake, and it doesn't add "lib" to
CMAKE_FIND_LIBRARY_PREFIXES during that call.

so find library doesn't look for it, the libs are not found and an
unhappy time is had by all. Now the most obvious solution would be to
pass `-DCMAKE_FIND_LIBRARY_PREFIXES=lib` to CMake to sidestep this
however, the `project` call will set the variable overwriting
anything you passed through the CLI.

So the fix here is to have `find_library` counter-intuitively look
for both `libwebp` and `webp`
2023-09-22 08:47:23 -06:00
..
cmake/modules License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
.gitattributes Fix make deps failing to build opencollada on Linux, due to line endings 2020-02-24 19:23:25 +01:00
aom.diff Build: update various libraries for 3.4, fixing bugs and security issues 2022-10-20 13:56:01 +02:00
blosc.diff macOS: Support arm64 architecture. 2020-07-16 09:37:38 +02:00
boost.diff Build: patch Boost for incompatibility with Xcode and libc++ 15 2023-06-07 12:13:17 +02:00
boost.user.jam.in Build: library updates for Blender 3.5 2022-12-07 15:28:17 +01:00
cmakelists_gmpxx.txt Deps builder: Add support for building GMP 2020-07-31 09:34:26 -06:00
cmakelists_lcms.txt build_environment: opencolorio 1.1.0 2018-08-15 12:32:34 -06:00
cmakelists_potrace.txt Deps: Add potrace as a new library dependency 2020-09-15 13:16:37 -06:00
cmakelists_pystring.txt Build: upgrade many library dependencies to new versions for Blender 3.2 2022-04-20 16:42:16 +02:00
cmakelists_tbb.txt Add support for building on Linux aarch64 2021-04-20 18:45:46 +02:00
cmakelists_theora.txt Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00
config_gmpxx.h Deps builder: Add support for building GMP 2020-07-31 09:34:26 -06:00
dpcpp.diff Cycles: update DPCPP to 2022-12 release 2023-04-18 22:09:41 +02:00
embree.diff Fix #109771: deps_builder: crash in Embree HW BVH building 2023-07-19 19:39:54 +02:00
epoxy.diff GPU: replace GLEW with libepoxy 2022-08-15 16:10:29 +02:00
ffi.diff build_environment: ffi/linux force predictable lib path. 2018-09-17 11:58:13 -06:00
ffmpeg_windows.diff Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00
ffmpeg.diff deps_builder: 3.6 library update 2023-05-10 16:20:16 +02:00
fftw3.diff
gmp.diff Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00
haru.diff CMake/Windows/macOS: Add Libharu 2021-02-01 21:58:57 +05:30
igc_opencl_clang.diff Cycles: update Intel Graphics Compiler to 1.0.13064.7 on Linux 2023-02-09 15:43:23 +11:00
ispc.diff Build: upgrade many library dependencies to new versions for Blender 3.2 2022-04-20 16:42:16 +02:00
lame.diff Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00
level-zero.diff Build: upgrade many library dependencies to new versions for Blender 3.2 2022-04-20 16:42:16 +02:00
libtheora.def Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00
llvm.diff Cmake/deps: Update OSL to 1.11.10.0 2021-02-24 07:13:37 -07:00
materialx.diff Build: library updates for Blender 3.5 2022-12-07 15:28:17 +01:00
ming32sh.cmd
ming64sh.cmd Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00
nasm.diff Make deps: Compile own version of nasm for Apple 2020-07-07 16:26:13 +02:00
ogg.diff Make deps: Fixes for macOS platform 2020-07-07 09:31:46 +02:00
oiio_3984.diff Build: update 4.0 libraries to address CVEs and bugs 2023-09-21 17:02:46 +02:00
oiio_deadlock.diff deps_builder: fix deadlock in idiff 2023-06-12 08:51:51 -06:00
oiio_webp.diff deps_builder: Fix missing Webp support in OIIO build on windows 2023-09-22 08:47:23 -06:00
opencollada.diff Build: library updates for Blender 3.5 2022-12-07 15:28:17 +01:00
opencolorio.diff Build: add missing include for opencolorio 2022-09-27 11:21:35 +10:00
openexr_b18905772e.diff deps_builder: 3.6 library update 2023-05-10 16:20:16 +02:00
openimageio.diff Build: library updates for Blender 3.5 2022-12-07 15:28:17 +01:00
openmp.diff Build: macOS library upgrade fixes 2021-08-09 16:50:31 +02:00
openvdb_metal.diff Build: fix OpenVDB Metal patch not applying cleanly 2023-08-16 18:43:23 +02:00
openvdb.diff Fix build issue with NanoVDB and HIP on Linux 2022-12-15 18:58:52 +01:00
opus_windows.diff Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00
osl.diff Fix macOS Arm build of OSL library dependency 2023-09-04 15:08:02 +02:00
pthreads.diff deps/windows: Fix wrong crt for libjpeg and pthreads 2020-05-09 12:47:59 -06:00
python_unix.diff Fix macOS precompiled libraries built on Xcode 14 not working in Xcode 13 2022-12-09 22:49:31 +01:00
python_windows.diff deps_builder: python 3.10.12 + openssl 3.0.9 for windows fixes 2023-06-21 15:02:45 -06:00
sdl_haptics.diff Build: keep SDL haptics disabled on macOS x86_64 2023-08-16 19:11:41 +02:00
sdl.diff Build: update SDL to 2.28.2 2023-08-16 14:39:11 +02:00
semi.txt
ssl.diff Build: update various libraries for 3.4, fixing bugs and security issues 2022-10-20 13:56:01 +02:00
tbb.diff Add support for building on Linux aarch64 2021-04-20 18:45:46 +02:00
theora.diff Add support for building on Linux aarch64 2021-04-20 18:45:46 +02:00
tinyxml.diff build_environment: opencolorio 1.1.0 2018-08-15 12:32:34 -06:00
usd_core_profile.diff Build: patch USD to work with OpenGL core profile 2023-08-07 16:28:26 +02:00
usd_hydra.diff deps_builder: 3.6 library update 2023-05-10 16:20:16 +02:00
usd_pull_1965.diff deps_builder: 3.6 library update 2023-05-10 16:20:16 +02:00
usd.diff Build: library updates for Blender 3.5 2022-12-07 15:28:17 +01:00
vpx_windows.diff deps: FFmpeg vpx/aom-av1 updates 2022-07-26 13:25:58 +02:00
zlib.diff Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00