mirror of
https://invent.kde.org/graphics/okular
synced 2024-07-17 02:37:04 +00:00
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:
parent
565d2b993b
commit
dfc768d95d
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue