Jelajahi Sumber

-add an additional name for finding libtiff on Windows

libtiff also exists as tiff.dll/lib under Windows, patch from
Patrick Spendrin (#10942)

Alex
Alex Neundorf 15 tahun lalu
induk
melakukan
14dfdc3e42
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Modules/FindTIFF.cmake

+ 1 - 1
Modules/FindTIFF.cmake

@@ -22,7 +22,7 @@
 
 FIND_PATH(TIFF_INCLUDE_DIR tiff.h)
 
-SET(TIFF_NAMES ${TIFF_NAMES} tiff libtiff libtiff3)
+SET(TIFF_NAMES ${TIFF_NAMES} tiff libtiff tiff3 libtiff3)
 FIND_LIBRARY(TIFF_LIBRARY NAMES ${TIFF_NAMES} )
 
 # handle the QUIETLY and REQUIRED arguments and set TIFF_FOUND to TRUE if