tornavis/build_files/build_environment
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 deps_builder: OIIO validate deps at configure time 2023-09-22 08:32:26 -06:00
darwin License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
linux License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
patches deps_builder: Fix missing Webp support in OIIO build on windows 2023-09-22 08:47:23 -06:00
windows Deps_builder: Fix USD debug build on windows 2023-06-01 09:12:18 -06:00
CMakeLists.txt License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
dependencies.dot Deps_builder: Move Windows build from MinGW/GCC to msys2/MSVC 2023-06-14 21:57:48 +02:00
install_linux_packages.py Revert "install_linux_packages: Raise LLVM default version to 15.0.7." 2023-09-21 18:46:30 +02:00