change the include file that indicates discovery.

apparently the name of the version header changed in exiv2 0.14

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=672241
This commit is contained in:
Allen Winter 2007-06-06 14:14:27 +00:00
parent f220bc0c6a
commit 565d2b993b

View file

@ -30,7 +30,7 @@ else (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
set(EXIV2_DEFINITIONS ${_EXIV2Cflags})
endif (NOT WIN32)
FIND_PATH(EXIV2_INCLUDE_DIR exiv2/exiv2_version.h
FIND_PATH(EXIV2_INCLUDE_DIR exiv2/image.hpp
${_EXIV2IncDir}
/usr/include
/usr/local/include