From 177ccd75bcd6c579311b0e8e0bf9f5e4c565f9da Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Sun, 13 Dec 2009 14:58:34 +0000 Subject: remove NO_DEFAULT_PATH in the find_library() call use HINTS rather than PATHS in the find_path() call svn path=/trunk/KDE/kdelibs/; revision=1062007 --- modules/FindExiv2.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/FindExiv2.cmake b/modules/FindExiv2.cmake index f6adbdc9..9306f5b8 100644 --- a/modules/FindExiv2.cmake +++ b/modules/FindExiv2.cmake @@ -58,13 +58,13 @@ else (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES) set(EXIV2_DEFINITIONS ${_EXIV2Cflags}) find_path(EXIV2_INCLUDE_DIR exiv2/exif.hpp + HINTS ${_EXIV2IncDir} ) find_library(EXIV2_LIBRARIES NAMES exiv2 libexiv2 HINTS ${_EXIV2LinkDir} - NO_DEFAULT_PATH ) if (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES) -- cgit v1.2.1