aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKdcraw.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindKdcraw.cmake')
-rw-r--r--modules/FindKdcraw.cmake31
1 files changed, 15 insertions, 16 deletions
diff --git a/modules/FindKdcraw.cmake b/modules/FindKdcraw.cmake
index 06e408d6..371ff9c3 100644
--- a/modules/FindKdcraw.cmake
+++ b/modules/FindKdcraw.cmake
@@ -78,22 +78,21 @@ else (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES)
if (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES)
set(KDCRAW_FOUND TRUE)
endif (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES)
-
- if (KDCRAW_FOUND)
- if (NOT Kdcraw_FIND_QUIETLY)
- message(STATUS "Found libkdcraw: ${KDCRAW_LIBRARIES}")
- endif (NOT Kdcraw_FIND_QUIETLY)
- else (KDCRAW_FOUND)
- if (Kdcraw_FIND_REQUIRED)
- if (NOT KDCRAW_INCLUDE_DIR)
- message(FATAL_ERROR "Could NOT find libkdcraw header files")
- endif (NOT KDCRAW_INCLUDE_DIR)
- if (NOT KDCRAW_LIBRARIES)
- message(FATAL_ERROR "Could NOT find libkdcraw library")
- endif (NOT KDCRAW_LIBRARIES)
- endif (Kdcraw_FIND_REQUIRED)
- endif (KDCRAW_FOUND)
- endif(KDCRAW_VERSION_GOOD_FOUND)
+ endif(KDCRAW_VERSION_GOOD_FOUND)
+ if (KDCRAW_FOUND)
+ if (NOT Kdcraw_FIND_QUIETLY)
+ message(STATUS "Found libkdcraw: ${KDCRAW_LIBRARIES}")
+ endif (NOT Kdcraw_FIND_QUIETLY)
+ else (KDCRAW_FOUND)
+ if (Kdcraw_FIND_REQUIRED)
+ if (NOT KDCRAW_INCLUDE_DIR)
+ message(FATAL_ERROR "Could NOT find libkdcraw header files")
+ endif (NOT KDCRAW_INCLUDE_DIR)
+ if (NOT KDCRAW_LIBRARIES)
+ message(FATAL_ERROR "Could NOT find libkdcraw library")
+ endif (NOT KDCRAW_LIBRARIES)
+ endif (Kdcraw_FIND_REQUIRED)
+ endif (KDCRAW_FOUND)
MARK_AS_ADVANCED(KDCRAW_INCLUDE_DIR KDCRAW_LIBRARIES)