mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
FindHDF5: initialize HDF5_DEFINITIONS when using hdf5-config.cmake
This commit is contained in:
committed by
Brad King
parent
16f1dd0d16
commit
2186b323c0
@@ -418,6 +418,7 @@ if(NOT HDF5_FOUND)
|
|||||||
set(HDF5_CXX_HL_TARGET ${_target_prefix}hdf5_hl_cpp)
|
set(HDF5_CXX_HL_TARGET ${_target_prefix}hdf5_hl_cpp)
|
||||||
set(HDF5_Fortran_TARGET ${_target_prefix}hdf5_fortran)
|
set(HDF5_Fortran_TARGET ${_target_prefix}hdf5_fortran)
|
||||||
set(HDF5_Fortran_HL_TARGET ${_target_prefix}hdf5_hl_fortran)
|
set(HDF5_Fortran_HL_TARGET ${_target_prefix}hdf5_hl_fortran)
|
||||||
|
set(HDF5_DEFINITIONS "")
|
||||||
if(HDF5_USE_STATIC_LIBRARIES)
|
if(HDF5_USE_STATIC_LIBRARIES)
|
||||||
set(_suffix "-static")
|
set(_suffix "-static")
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in New Issue
Block a user