diff options
Diffstat (limited to 'modules/FindKonto.cmake')
-rw-r--r-- | modules/FindKonto.cmake | 16 |
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) |