aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKonto.cmake
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2007-08-07 20:03:40 +0000
committerLaurent Montel <montel@kde.org>2007-08-07 20:03:40 +0000
commit9d32d67f6a70cb867a26400b6107f3ed7600c3eb (patch)
tree2f83bd89f1b32f461f979e93872eddad284ab633 /modules/FindKonto.cmake
parentb6c97d5c0d66816053b615873b76eddb47cc3cca (diff)
downloadextra-cmake-modules-9d32d67f6a70cb867a26400b6107f3ed7600c3eb.tar.gz
extra-cmake-modules-9d32d67f6a70cb867a26400b6107f3ed7600c3eb.tar.bz2
Use FIND_PACKAGE_HANDLE_STANDARD_ARGS
svn path=/trunk/KDE/kdelibs/; revision=697445
Diffstat (limited to 'modules/FindKonto.cmake')
-rw-r--r--modules/FindKonto.cmake16
1 files changed, 2 insertions, 14 deletions
diff --git a/modules/FindKonto.cmake b/modules/FindKonto.cmake
index 2042719c..0aeccedf 100644
--- a/modules/FindKonto.cmake
+++ b/modules/FindKonto.cmake
@@ -27,18 +27,6 @@ FIND_LIBRARY(KONTO_LIBRARIES
${LIB_INSTALL_DIR}
)
-
-if(KONTO_INCLUDES AND KONTO_LIBRARIES)
- set(KONTO_FOUND TRUE)
-endif(KONTO_INCLUDES AND KONTO_LIBRARIES)
-
-if(KONTO_FOUND)
- if (NOT Konto_FIND_QUIETLY)
- message(STATUS "Found Konto: ${KONTO_LIBRARIES}")
- endif (NOT Konto_FIND_QUIETLY)
-else(KONTO_FOUND)
- if(Konto_FIND_REQUIRED)
- message(FATAL_ERROR "Could not find Konto library.")
- endif(Konto_FIND_REQUIRED)
-endif(KONTO_FOUND)
+include(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Kondo DEFAULT_MSG KONTO_INCLUDES KONTO_LIBRARIES)