Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nono303/libgeotiff
Browse files Browse the repository at this point in the history
  • Loading branch information
nono303 committed Jun 14, 2024
2 parents 6ddad7c + 6c0122a commit 36e5a2b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libgeotiff/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,6 @@ IF(NOT HAVE_TIFFOPEN)
MESSAGE(FATAL_ERROR "Failed to link with libtiff - TIFFOpen function not found")
ENDIF()

CHECK_FUNCTION_EXISTS(TIFFMergeFieldInfo HAVE_TIFFMERGEFIELDINFO)
IF(NOT HAVE_TIFFMERGEFIELDINFO)
SET(TIFF_FOUND) # ReSET to NOT found for TIFF library
MESSAGE(FATAL_ERROR "Failed to link with libtiff - TIFFMergeFieldInfo function not found. libtiff 3.6.0 Beta or later required. Please upgrade or use an older version of libgeotiff")
ENDIF()

TARGET_INCLUDE_DIRECTORIES(${GEOTIFF_LIBRARY_TARGET} PRIVATE ${TIFF_INCLUDE_DIR})

Expand Down

0 comments on commit 36e5a2b

Please sign in to comment.