aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKipi.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindKipi.cmake')
-rw-r--r--modules/FindKipi.cmake31
1 files changed, 15 insertions, 16 deletions
diff --git a/modules/FindKipi.cmake b/modules/FindKipi.cmake
index 5f8430dc..9afbbcdd 100644
--- a/modules/FindKipi.cmake
+++ b/modules/FindKipi.cmake
@@ -78,22 +78,21 @@ else (KIPI_INCLUDE_DIR AND KIPI_LIBRARIES)
if (KIPI_INCLUDE_DIR AND KIPI_LIBRARIES)
set(KIPI_FOUND TRUE)
endif (KIPI_INCLUDE_DIR AND KIPI_LIBRARIES)
-
- if (KIPI_FOUND)
- if (NOT Kipi_FIND_QUIETLY)
- message(STATUS "Found libkipi: ${KIPI_LIBRARIES}")
- endif (NOT Kipi_FIND_QUIETLY)
- else (KIPI_FOUND)
- if (Kipi_FIND_REQUIRED)
- if (NOT KIPI_INCLUDE_DIR)
- message(FATAL_ERROR "Could NOT find libkipi header files")
- endif (NOT KIPI_INCLUDE_DIR)
- if (NOT KIPI_LIBRARIES)
- message(FATAL_ERROR "Could NOT find libkipi library")
- endif (NOT KIPI_LIBRARIES)
- endif (Kipi_FIND_REQUIRED)
- endif (KIPI_FOUND)
- endif(KIPI_VERSION_GOOD_FOUND)
+ endif(KIPI_VERSION_GOOD_FOUND)
+ if (KIPI_FOUND)
+ if (NOT Kipi_FIND_QUIETLY)
+ message(STATUS "Found libkipi: ${KIPI_LIBRARIES}")
+ endif (NOT Kipi_FIND_QUIETLY)
+ else (KIPI_FOUND)
+ if (Kipi_FIND_REQUIRED)
+ if (NOT KIPI_INCLUDE_DIR)
+ message(FATAL_ERROR "Could NOT find libkipi header files")
+ endif (NOT KIPI_INCLUDE_DIR)
+ if (NOT KIPI_LIBRARIES)
+ message(FATAL_ERROR "Could NOT find libkipi library")
+ endif (NOT KIPI_LIBRARIES)
+ endif (Kipi_FIND_REQUIRED)
+ endif (KIPI_FOUND)
MARK_AS_ADVANCED(KIPI_INCLUDE_DIR KIPI_LIBRARIES)