Warning, /frameworks/sonnet/cmake/FindVOIKKO.cmake is written in an unsupported language. File is not indexed.

0001 # - Try to find voikko
0002 # Once done this will define
0003 #
0004 #  VOIKKO_FOUND - system has VOIKKO
0005 #  VOIKKO_INCLUDE_DIR - the VOIKKO include directory
0006 #  VOIKKO_LIBRARIES - The libraries needed to use VOIKKO
0007 #  VOIKKO_DEFINITIONS - Compiler switches required for using VOIKKO
0008 
0009 
0010 IF (VOIKKO_INCLUDE_DIR AND VOIKKO_LIBRARIES)
0011   # Already in cache, be silent
0012   SET(VOIKKO_FIND_QUIETLY TRUE)
0013 ENDIF (VOIKKO_INCLUDE_DIR AND VOIKKO_LIBRARIES)
0014 
0015 FIND_PATH(VOIKKO_INCLUDE_DIR libvoikko/voikko.h)
0016 FIND_LIBRARY(VOIKKO_LIBRARIES NAMES voikko)
0017 
0018 # handle the QUIETLY and REQUIRED arguments and set VOIKKO_FOUND to TRUE if
0019 # all listed variables are TRUE
0020 INCLUDE(FindPackageHandleStandardArgs)
0021 FIND_PACKAGE_HANDLE_STANDARD_ARGS(VOIKKO DEFAULT_MSG VOIKKO_LIBRARIES VOIKKO_INCLUDE_DIR)
0022 
0023 MARK_AS_ADVANCED(VOIKKO_INCLUDE_DIR VOIKKO_LIBRARIES)