aboutsummaryrefslogtreecommitdiff
path: root/modules/FindExiv2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindExiv2.cmake')
-rw-r--r--modules/FindExiv2.cmake29
1 files changed, 14 insertions, 15 deletions
diff --git a/modules/FindExiv2.cmake b/modules/FindExiv2.cmake
index 6e34d60e..2f6caa1d 100644
--- a/modules/FindExiv2.cmake
+++ b/modules/FindExiv2.cmake
@@ -59,22 +59,21 @@ else (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
if (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
set(EXIV2_FOUND TRUE)
endif (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
-
- if (EXIV2_FOUND)
- if (NOT Exiv2_FIND_QUIETLY)
- message(STATUS "Found Exiv2: ${EXIV2_LIBRARIES}")
- endif (NOT Exiv2_FIND_QUIETLY)
- else (EXIV2_FOUND)
- if (Exiv2_FIND_REQUIRED)
- if (NOT EXIV2_INCLUDE_DIR)
- message(FATAL_ERROR "Could NOT find Exiv2 header files")
- endif (NOT EXIV2_INCLUDE_DIR)
- if (NOT EXIV2_LIBRARIES)
+ endif(EXIV2_VERSION_GOOD_FOUND)
+ if (EXIV2_FOUND)
+ if (NOT Exiv2_FIND_QUIETLY)
+ message(STATUS "Found Exiv2: ${EXIV2_LIBRARIES}")
+ endif (NOT Exiv2_FIND_QUIETLY)
+ else (EXIV2_FOUND)
+ if (Exiv2_FIND_REQUIRED)
+ if (NOT EXIV2_INCLUDE_DIR)
+ message(FATAL_ERROR "Could NOT find Exiv2 header files")
+ endif (NOT EXIV2_INCLUDE_DIR)
+ if (NOT EXIV2_LIBRARIES)
message(FATAL_ERROR "Could NOT find Exiv2 library")
- endif (NOT EXIV2_LIBRARIES)
- endif (Exiv2_FIND_REQUIRED)
- endif (EXIV2_FOUND)
- endif(EXIV2_VERSION_GOOD_FOUND)
+ endif (NOT EXIV2_LIBRARIES)
+ endif (Exiv2_FIND_REQUIRED)
+ endif (EXIV2_FOUND)
MARK_AS_ADVANCED(EXIV2_INCLUDE_DIR EXIV2_LIBRARIES)