fix the variable names for _FIND_REQUIRED and _FIND_QUIETLY.

thanks Laurent.

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

View file

@ -48,13 +48,13 @@ else (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
endif (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
if (EXIV2_FOUND)
if (NOT EXIV2_FIND_QUIETLY)
if (NOT Exiv2_FIND_QUIETLY)
message(STATUS "Found EXIV2: ${EXIV2_LIBRARIES}")
endif (NOT EXIV2_FIND_QUIETLY)
endif (NOT Exiv2_FIND_QUIETLY)
else (EXIV2_FOUND)
if (EXIV2_FIND_REQUIRED)
if (Exiv2_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find EXIV2")
endif (EXIV2_FIND_REQUIRED)
endif (Exiv2_FIND_REQUIRED)
endif (EXIV2_FOUND)
MARK_AS_ADVANCED(EXIV2_INCLUDE_DIR EXIV2_LIBRARIES)