mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
Fixes GH#1027 compilation error (#3654)
This commit is contained in:
parent
e4cea3509a
commit
0ffde9da19
@ -450,6 +450,12 @@ include (${HDF_RESOURCES_DIR}/ConfigureChecks.cmake)
|
||||
|
||||
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
|
||||
#-----------------------------------------------------------------------------
|
||||
|
@ -682,7 +682,14 @@ Bug Fixes since HDF5-1.14.0 release
|
||||
Checks were added to the CMake and Autotools code to verify that CLOCK_MONOTONIC_COARSE,
|
||||
PTHREAD_MUTEX_ADAPTIVE_NP and pthread_condattr_setclock() are available before 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user