Warning, /office/calligra/cmake/modules/FindLibWpd.cmake is written in an unsupported language. File is not indexed.

0001 # - Try to find the libwpd (WordPerfect library)
0002 # Once done this will define
0003 #
0004 #  LIBWPD_FOUND - system has LIBWPD
0005 #  LIBWPD_INCLUDE_DIRS - the LIBWPD include directory
0006 #  LIBWPD_LIBRARIES - Link these to use LIBWPD
0007 #  LIBWPD_DEFINITIONS - Compiler switches required for using LIBWPD
0008 #
0009 
0010 include(LibFindMacros)
0011 libfind_pkg_check_modules(WPD_PKGCONF libwpd-0.10)
0012 
0013 find_path(WPD_INCLUDE_DIR
0014     NAMES libwpd/libwpd.h
0015     HINTS ${WPD_PKGCONF_INCLUDE_DIRS} ${WPD_PKGCONF_INCLUDEDIR}
0016     PATH_SUFFIXES libwpd-0.10
0017 )
0018 
0019 find_library(WPD_LIBRARY
0020     NAMES wpd libwpd wpd-0.10 libwpd-0.10
0021     HINTS ${WPD_PKGCONF_LIBRARY_DIRS} ${WPD_PKGCONF_LIBDIR}
0022 )
0023 
0024 set(LIBWPD_PROCESS_LIBS WPD_LIBRARY)
0025 set(LIBWPD_PROCESS_INCLUDES WPD_INCLUDE_DIR)
0026 libfind_process(LIBWPD)