Skip to content

Commit

Permalink
Merge branch 'master' into issue365.dmh
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Feb 23, 2017
2 parents 1cdde8b + 169866d commit 7cb0350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ IF(ENABLE_HDF4)
MESSAGE(FATAL_ERROR "Can't find or link to the hdf4 mfhdf library.")
ENDIF()

SET(HAVE_LIBMFHDF TRUE)

SET(HDF4_LIBRARIES ${HDF4_DF_LIB} ${HDF4_MFHDF_LIB})
# End include files, libraries.
MESSAGE(STATUS "HDF4 libraries: ${HDF4_DF_LIB}, ${HDF4_MFHDF_LIB}")
Expand All @@ -454,6 +456,7 @@ IF(ENABLE_HDF4)
MESSAGE(FATAL_ERROR "HDF4 Support enabled but cannot find jpeglib.h")
ELSE()
SET(HAVE_JPEGLIB_H ON CACHE BOOL "")
SET(HAVE_LIBJPEG TRUE)
INCLUDE_DIRECTORIES(${JPEGLIB_H_INCLUDE_DIR})
ENDIF()

Expand Down
2 changes: 1 addition & 1 deletion config.h.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ are set when opening a binary file on Windows. */

/* If true, use use wget to fetch some sample HDF4 data, and then test against
it. */
#cmakedefine USE_HDF4_FILE_TESTS 1
//#cmakedefine USE_HDF4_FILE_TESTS 1

/* if true, enable dynamic loading support */
#cmakedefine USE_LIBDL 1
Expand Down

0 comments on commit 7cb0350

Please sign in to comment.