diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-06-15 12:55:40 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-06-15 12:58:58 +0300 |
commit | 0102b9d47edfeea003adf7eec3077425ff065d6e (patch) | |
tree | e6f244fb1229c488bbdc8f2389cf56ea823a2852 /build_files/cmake/Modules | |
parent | 76ebc608af7a89d2e9919d67ec6b639d47f70c1a (diff) |
Alembic: remove HDF5 support from CMake files
This is a follup to 0c384362272.
No functional changes to Blender, just the build scripts.
Diffstat (limited to 'build_files/cmake/Modules')
-rw-r--r-- | build_files/cmake/Modules/FindHDF5.cmake | 65 |
1 files changed, 0 insertions, 65 deletions
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) |