aboutsummaryrefslogtreecommitdiff
path: root/modules/FindExiv2.cmake
diff options
context:
space:
mode:
authorHelio Castro <helio@kde.org>2008-11-11 15:30:12 +0000
committerHelio Castro <helio@kde.org>2008-11-11 15:30:12 +0000
commit3c3016a1dff7df3966a1a627e11e9a41a8fadb51 (patch)
treea89960994d8c0ba9274a6db4034e93cb94c8ff9b /modules/FindExiv2.cmake
parentdaf29017c6ca5901d7d14918dbbcd326f23e0c5c (diff)
downloadextra-cmake-modules-3c3016a1dff7df3966a1a627e11e9a41a8fadb51.tar.gz
extra-cmake-modules-3c3016a1dff7df3966a1a627e11e9a41a8fadb51.tar.bz2
- Fix includedirs and add requires for pkgconfig
svn path=/trunk/KDE/kdelibs/; revision=882894
Diffstat (limited to 'modules/FindExiv2.cmake')
-rw-r--r--modules/FindExiv2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/FindExiv2.cmake b/modules/FindExiv2.cmake
index 4895b6c4..c16e210b 100644
--- a/modules/FindExiv2.cmake
+++ b/modules/FindExiv2.cmake
@@ -12,6 +12,8 @@ if (EXIV2_INCLUDEDIR AND EXIV2_LIBRARIES)
else (EXIV2_INCLUDEDIR AND EXIV2_LIBRARIES)
if (NOT WIN32)
+ find_package(PkgConfig REQUIRED)
+
if(NOT EXIV2_MIN_VERSION)
set(EXIV2_MIN_VERSION "0.12")
endif(NOT EXIV2_MIN_VERSION)