Fixes GH#1027 compilation error (#3654)

This commit is contained in:
Scot Breitenfeld 2023-10-10 09:18:00 -05:00 committed by GitHub
parent e4cea3509a
commit 0ffde9da19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -450,6 +450,12 @@ include (${HDF_RESOURCES_DIR}/ConfigureChecks.cmake)
set (CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON) set (CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
#-----------------------------------------------------------------------------
# Include directories in the source or build tree should come before other
# directories to prioritize headers in the sources over installed ones.
#-----------------------------------------------------------------------------
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Mac OS X Options # Mac OS X Options
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------

View File

@ -684,6 +684,13 @@ Bug Fixes since HDF5-1.14.0 release
to use them in Subfiling VFD-related utility code. Without these checks, attempting to use them in Subfiling VFD-related utility code. Without these checks, attempting
to build the Subfiling VFD on macOS would fail. to build the Subfiling VFD on macOS would fail.
- Fixes the ordering of INCLUDES when building with CMake
Include directories in the source or build tree should come before other
directories to prioritize headers in the sources over installed ones.
Fixes GitHub #1027
- The accum test now passes on macOS 12+ (Monterey) w/ CMake - The accum test now passes on macOS 12+ (Monterey) w/ CMake
Due to changes in the way macOS handles LD_LIBRARY_PATH, the accum test Due to changes in the way macOS handles LD_LIBRARY_PATH, the accum test