aboutsummaryrefslogtreecommitdiff
path: root/modules/FindTIFF.cmake
diff options
context:
space:
mode:
authorAllen Winter <winter@kde.org>2006-03-20 21:05:37 +0000
committerAllen Winter <winter@kde.org>2006-03-20 21:05:37 +0000
commit191846e3e21c697c28bd5c8a166edeb4072161e3 (patch)
treedd41ca62b221ce0b3936c1dc9d518a01e6359bc6 /modules/FindTIFF.cmake
parent659abe0d63dd8d5a979d6584fdf9dfb7b9b6c6ff (diff)
downloadextra-cmake-modules-191846e3e21c697c28bd5c8a166edeb4072161e3.tar.gz
extra-cmake-modules-191846e3e21c697c28bd5c8a166edeb4072161e3.tar.bz2
minor cleanups: indenting, adding newline to end of file, etc.
svn path=/trunk/KDE/kdelibs/; revision=520790
Diffstat (limited to 'modules/FindTIFF.cmake')
-rw-r--r--modules/FindTIFF.cmake76
1 files changed, 38 insertions, 38 deletions
diff --git a/modules/FindTIFF.cmake b/modules/FindTIFF.cmake
index 28286f94..d0c13d67 100644
--- a/modules/FindTIFF.cmake
+++ b/modules/FindTIFF.cmake
@@ -1,38 +1,38 @@
-# - Find TIFF library
-# Find the native TIFF includes and library
-# This module defines
-# TIFF_INCLUDE_DIR, where to find tiff.h, etc.
-# TIFF_LIBRARIES, libraries to link against to use TIFF.
-# TIFF_FOUND, If false, do NOT try to use TIFF.
-# also defined, but NOT for general use are
-# TIFF_LIBRARY, where to find the TIFF library.
-
-FIND_PATH(TIFF_INCLUDE_DIR tiff.h
- /usr/local/include
- /usr/include
-)
-
-set(TIFF_NAMES ${TIFF_NAMES} tiff libtiff)
-FIND_LIBRARY(TIFF_LIBRARY
- NAMES ${TIFF_NAMES}
- PATHS /usr/lib /usr/local/lib
- )
-
-
-if(TIFF_INCLUDE_DIR AND TIFF_LIBRARY)
- set(TIFF_FOUND "YES")
- set(TIFF_LIBRARIES ${TIFF_LIBRARY} )
-endif(TIFF_INCLUDE_DIR AND TIFF_LIBRARY)
-
-
-if (TIFF_FOUND)
- if (NOT TIFF_FIND_QUIETLY)
- message(STATUS "Found TIFF: ${TIFF_LIBRARY}")
- endif (NOT TIFF_FIND_QUIETLY)
-else (TIFF_FOUND)
- if (TIFF_FIND_REQUIRED)
- message(FATAL_ERROR "Could NOT find TIFF")
- endif (TIFF_FIND_REQUIRED)
-endif (TIFF_FOUND)
-
-MARK_AS_ADVANCED( TIFF_INCLUDE_DIR TIFF_LIBRARY )
+# - Find TIFF library
+# Find the native TIFF includes and library
+# This module defines
+# TIFF_INCLUDE_DIR, where to find tiff.h, etc.
+# TIFF_LIBRARIES, libraries to link against to use TIFF.
+# TIFF_FOUND, If false, do NOT try to use TIFF.
+# also defined, but NOT for general use are
+# TIFF_LIBRARY, where to find the TIFF library.
+
+FIND_PATH(TIFF_INCLUDE_DIR tiff.h
+ /usr/local/include
+ /usr/include
+)
+
+set(TIFF_NAMES ${TIFF_NAMES} tiff libtiff)
+FIND_LIBRARY(TIFF_LIBRARY
+ NAMES ${TIFF_NAMES}
+ PATHS /usr/lib /usr/local/lib
+)
+
+
+if (TIFF_INCLUDE_DIR AND TIFF_LIBRARY)
+ set(TIFF_FOUND "YES")
+ set(TIFF_LIBRARIES ${TIFF_LIBRARY} )
+endif (TIFF_INCLUDE_DIR AND TIFF_LIBRARY)
+
+
+if (TIFF_FOUND)
+ if (NOT TIFF_FIND_QUIETLY)
+ message(STATUS "Found TIFF: ${TIFF_LIBRARY}")
+ endif (NOT TIFF_FIND_QUIETLY)
+else (TIFF_FOUND)
+ if (TIFF_FIND_REQUIRED)
+ message(FATAL_ERROR "Could NOT find TIFF")
+ endif (TIFF_FIND_REQUIRED)
+endif (TIFF_FOUND)
+
+MARK_AS_ADVANCED(TIFF_INCLUDE_DIR TIFF_LIBRARY )