aboutsummaryrefslogtreecommitdiff
path: root/modules/FindTIFF.cmake
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2007-08-26 13:49:18 +0000
committerLaurent Montel <montel@kde.org>2007-08-26 13:49:18 +0000
commit0e6e562f6144cb145c893aaf81c200e9bc4d8b73 (patch)
tree650b4be545c2e671c98dda1f19d409168aa9289f /modules/FindTIFF.cmake
parent7c2dbce61c2e54afab9eef2574a06aea45d1e11f (diff)
downloadextra-cmake-modules-0e6e562f6144cb145c893aaf81c200e9bc4d8b73.tar.gz
extra-cmake-modules-0e6e562f6144cb145c893aaf81c200e9bc4d8b73.tar.bz2
Use FIND_PACKAGE_HANDLE_STANDARD_ARGS
svn path=/trunk/KDE/kdelibs/; revision=704860
Diffstat (limited to 'modules/FindTIFF.cmake')
-rw-r--r--modules/FindTIFF.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindTIFF.cmake b/modules/FindTIFF.cmake
index d9668ac6..6bdd53d6 100644
--- a/modules/FindTIFF.cmake
+++ b/modules/FindTIFF.cmake
@@ -10,10 +10,10 @@
# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
-if (TIFF_INCLUDE_DIR)
+if (TIFF_INCLUDE_DIR AND TIFF_LIBRARY)
# Already in cache, be silent
set(TIFF_FIND_QUIETLY TRUE)
-endif (TIFF_INCLUDE_DIR)
+endif (TIFF_INCLUDE_DIR AND TIFF_LIBRARY)
find_path(TIFF_INCLUDE_DIR NAMES tiff.h )