diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-08-16 07:29:53 -0400 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-08-16 07:29:53 -0400 |
commit | ae31d88145d5be1fd8e0f95fff65b1d1b566064d (patch) | |
tree | a5fbf6880c119fcc76551aa1409ca68b49711ea6 /Modules/FindTIFF.cmake | |
parent | 58afad0968a2cf2a20c9f0c0da3d6c0fac4673b1 (diff) | |
download | cmake-ae31d88145d5be1fd8e0f95fff65b1d1b566064d.tar.gz |
ENH: add more names for libtiff, mark TIFF_INCLUDE_DIR and TIFF_LIBRARY as
advanced (sync with KDE)
Alex
Diffstat (limited to 'Modules/FindTIFF.cmake')
-rw-r--r-- | Modules/FindTIFF.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/FindTIFF.cmake b/Modules/FindTIFF.cmake index fbf8044687..2868bb9f34 100644 --- a/Modules/FindTIFF.cmake +++ b/Modules/FindTIFF.cmake @@ -9,14 +9,16 @@ FIND_PATH(TIFF_INCLUDE_DIR tiff.h) -SET(TIFF_NAMES ${TIFF_NAMES} tiff) +SET(TIFF_NAMES ${TIFF_NAMES} tiff libtiff libtiff3) FIND_LIBRARY(TIFF_LIBRARY NAMES ${TIFF_NAMES} ) # handle the QUIETLY and REQUIRED arguments and set TIFF_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(TIFF DEFAULT_MSG TIFF_LIBRARY TIFF_INCLUDE_DIR) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(TIFF DEFAULT_MSG TIFF_LIBRARY TIFF_INCLUDE_DIR) IF(TIFF_FOUND) SET( TIFF_LIBRARIES ${TIFF_LIBRARY} ) ENDIF(TIFF_FOUND) + +MARK_AS_ADVANCED(TIFF_INCLUDE_DIR TIFF_LIBRARY) |