From 0102b9d47edfeea003adf7eec3077425ff065d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 15 Jun 2020 11:55:40 +0200 Subject: Alembic: remove HDF5 support from CMake files This is a follup to 0c384362272. No functional changes to Blender, just the build scripts. --- build_files/cmake/Modules/FindHDF5.cmake | 65 -------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 build_files/cmake/Modules/FindHDF5.cmake (limited to 'build_files/cmake/Modules') diff --git a/build_files/cmake/Modules/FindHDF5.cmake b/build_files/cmake/Modules/FindHDF5.cmake deleted file mode 100644 index ea77c5d7826..00000000000 --- a/build_files/cmake/Modules/FindHDF5.cmake +++ /dev/null @@ -1,65 +0,0 @@ -# - Find HDF5 library -# Find the native HDF5 includes and libraries -# This module defines -# HDF5_INCLUDE_DIRS, where to find hdf5.h, Set when HDF5_INCLUDE_DIR is found. -# HDF5_LIBRARIES, libraries to link against to use HDF5. -# HDF5_ROOT_DIR, The base directory to search for HDF5. -# This can also be an environment variable. -# HDF5_FOUND, If false, do not try to use HDF5. -# - -#============================================================================= -# Copyright 2016 Blender Foundation. -# -# Distributed under the OSI-approved BSD License (the "License"); -# see accompanying file Copyright.txt for details. -# -# This software is distributed WITHOUT ANY WARRANTY; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -# See the License for more information. -#============================================================================= - -# If HDF5_ROOT_DIR was defined in the environment, use it. -IF(NOT HDF5_ROOT_DIR AND NOT $ENV{HDF5_ROOT_DIR} STREQUAL "") - SET(HDF5_ROOT_DIR $ENV{HDF5_ROOT_DIR}) -ENDIF() - -SET(_hdf5_SEARCH_DIRS - ${HDF5_ROOT_DIR} - /opt/lib/hdf5 -) - -FIND_LIBRARY(HDF5_LIBRARY - NAMES - hdf5 - HINTS - ${_hdf5_SEARCH_DIRS} - PATH_SUFFIXES - lib64 lib -) - -FIND_PATH(HDF5_INCLUDE_DIR - NAMES - hdf5.h - HINTS - ${_hdf5_SEARCH_DIRS} - PATH_SUFFIXES - include -) - -# handle the QUIETLY and REQUIRED arguments and set HDF5_FOUND to TRUE if -# all listed variables are TRUE -INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(HDF5 DEFAULT_MSG HDF5_LIBRARY HDF5_INCLUDE_DIR) - -IF(HDF5_FOUND) - SET(HDF5_LIBRARIES ${HDF5_LIBRARY}) - SET(HDF5_INCLUDE_DIRS ${HDF5_INCLUDE_DIR}) -ENDIF(HDF5_FOUND) - -MARK_AS_ADVANCED( - HDF5_INCLUDE_DIR - HDF5_LIBRARY -) - -UNSET(_hdf5_SEARCH_DIRS) -- cgit v1.2.3