aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <winter@kde.org>2009-12-13 14:58:34 +0000
committerAllen Winter <winter@kde.org>2009-12-13 14:58:34 +0000
commit177ccd75bcd6c579311b0e8e0bf9f5e4c565f9da (patch)
tree25a1a86880d3941b67073bd331b600f39d38918b
parentcc9c86c96af116e35d0c212b82617126a6a38320 (diff)
downloadextra-cmake-modules-177ccd75bcd6c579311b0e8e0bf9f5e4c565f9da.tar.gz
extra-cmake-modules-177ccd75bcd6c579311b0e8e0bf9f5e4c565f9da.tar.bz2
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
-rw-r--r--modules/FindExiv2.cmake2
1 files changed, 1 insertions, 1 deletions
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)