Skip to content

Commit 7cb0350

Browse files
committed
Merge branch 'master' into issue365.dmh
2 parents 1cdde8b + 169866d commit 7cb0350

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,8 @@ IF(ENABLE_HDF4)
442442
MESSAGE(FATAL_ERROR "Can't find or link to the hdf4 mfhdf library.")
443443
ENDIF()
444444

445+
SET(HAVE_LIBMFHDF TRUE)
446+
445447
SET(HDF4_LIBRARIES ${HDF4_DF_LIB} ${HDF4_MFHDF_LIB})
446448
# End include files, libraries.
447449
MESSAGE(STATUS "HDF4 libraries: ${HDF4_DF_LIB}, ${HDF4_MFHDF_LIB}")
@@ -454,6 +456,7 @@ IF(ENABLE_HDF4)
454456
MESSAGE(FATAL_ERROR "HDF4 Support enabled but cannot find jpeglib.h")
455457
ELSE()
456458
SET(HAVE_JPEGLIB_H ON CACHE BOOL "")
459+
SET(HAVE_LIBJPEG TRUE)
457460
INCLUDE_DIRECTORIES(${JPEGLIB_H_INCLUDE_DIR})
458461
ENDIF()
459462

config.h.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ are set when opening a binary file on Windows. */
526526

527527
/* If true, use use wget to fetch some sample HDF4 data, and then test against
528528
it. */
529-
#cmakedefine USE_HDF4_FILE_TESTS 1
529+
//#cmakedefine USE_HDF4_FILE_TESTS 1
530530

531531
/* if true, enable dynamic loading support */
532532
#cmakedefine USE_LIBDL 1

0 commit comments

Comments
 (0)