Files
test/build_files/cmake/Modules/FindRubberband.cmake
Thomas Dinges 66224d69b0 Deps: Library changes for Blender 5.0
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
2025-10-02 18:34:11 +02:00

64 lines
1.7 KiB
CMake

# SPDX-FileCopyrightText: 2025 Blender Authors
#
# SPDX-License-Identifier: BSD-3-Clause
# - Find Rubberband libraries
# Find the Rubberband includes and libraries
# This module defines
# RUBBERBAND_INCLUDE_DIRS, where to find Rubberband headers, Set when
# RUBBERBAND_INCLUDE_DIR is found.
# RUBBERBAND_LIBRARIES, libraries to link against to use Rubberband.
# RUBBERBAND_ROOT_DIR, The base directory to search for Rubberband.
# This can also be an environment variable.
# RUBBERBAND_FOUND, If false, do not try to use the Rubberband library.
#
# also defined, but not for general use are
# RUBBERBAND_LIBRARY, where to find the Rubberband library.
if(DEFINED RUBBERBAND_ROOT_DIR)
elseif(DEFINED ENV{RUBBERBAND_ROOT_DIR})
set(RUBBERBAND_ROOT_DIR $ENV{RUBBERBAND_ROOT_DIR})
else()
set(RUBBERBAND_ROOT_DIR "")
endif()
set(_rubberband_SEARCH_DIRS
${RUBBERBAND_ROOT_DIR}
)
find_path(RUBBERBAND_INCLUDE_DIR
NAMES
rubberband/RubberBandStretcher.h
HINTS
${_rubberband_SEARCH_DIRS}
PATH_SUFFIXES
include
)
find_library(RUBBERBAND_LIBRARY
NAMES
rubberband
HINTS
${_rubberband_SEARCH_DIRS}
PATH_SUFFIXES
lib lib64
)
# handle the QUIETLY and REQUIRED arguments and set RUBBERBAND_FOUND to TRUE if
# all listed variables are TRUE
find_package(PackageHandleStandardArgs)
find_package_handle_standard_args(Rubberband DEFAULT_MSG RUBBERBAND_LIBRARY RUBBERBAND_INCLUDE_DIR)
if(RUBBERBAND_FOUND)
set(RUBBERBAND_LIBRARIES ${RUBBERBAND_LIBRARY})
set(RUBBERBAND_INCLUDE_DIRS ${RUBBERBAND_INCLUDE_DIR})
endif()
mark_as_advanced(
RUBBERBAND_LIBRARY
RUBBERBAND_INCLUDE_DIR
)
unset(_rubberband_SEARCH_DIRS)