Skip to content

Commit 629cef6

Browse files
author
Eugen Wintersberger
committed
Local changes
1 parent 737944a commit 629cef6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

cmake_include/FindHDF4.cmake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@
2525
#
2626
#=============================================================================
2727

28-
set(HDF4_LIBRARIES df mfhdf)
29-
3028
find_library(HDF4_LIBRARIES NAMES df mfhdf PATH_SUFFIXES hdf)
29+
find_library(HDF4_DF_LIBRARY NAMES df PATH_SUFFIXES hdf)
30+
find_library(HDF4_MFHDF_LIBRARY NAMES mfhdf PATH_SUFFIXES hdf)
31+
message(STATUS "DF library found: ${HDF4_DF_LIBRARY}")
32+
message(STATUS "MFHDF library found: ${HDF4_MFHDF_LIBRARY}")
33+
34+
message(STATUS "HDF4 libraries: ${HDF4_LIBRARIES}")
3135

3236
find_library(_HDF4_DF_LIBRARY NAMES df PATH_SUFFIXES hdf)
3337
get_filename_component(HDF4_LIBRARY_DIRS ${_HDF4_DF_LIBRARY} PATH)

0 commit comments

Comments
 (0)