Commit dabc4b15 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove unused FindLibW* cmake modules

These were used for the generic vector shape.
parent c83359fc
# - Try to find the libwpd (WordPerfect library)
# Once done this will define
#
# LIBWPD_FOUND - system has LIBWPD
# LIBWPD_INCLUDE_DIRS - the LIBWPD include directory
# LIBWPD_LIBRARIES - Link these to use LIBWPD
# LIBWPD_DEFINITIONS - Compiler switches required for using LIBWPD
#
include(LibFindMacros)
libfind_pkg_check_modules(WPD_PKGCONF libwpd-0.10)
find_path(WPD_INCLUDE_DIR
NAMES libwpd/libwpd.h
HINTS ${WPD_PKGCONF_INCLUDE_DIRS} ${WPD_PKGCONF_INCLUDEDIR}
PATH_SUFFIXES libwpd-0.10
)
find_library(WPD_LIBRARY
NAMES wpd libwpd wpd-0.10 libwpd-0.10
HINTS ${WPD_PKGCONF_LIBRARY_DIRS} ${WPD_PKGCONF_LIBDIR}
)
set(LIBWPD_PROCESS_LIBS WPD_LIBRARY)
set(LIBWPD_PROCESS_INCLUDES WPD_INCLUDE_DIR)
libfind_process(LIBWPD)
# - Try to find LibWpg
# Once done this will define
#
# LIBWPG_FOUND - libwpg is available
# LIBWPG_INCLUDE_DIRS - include directory, e.g. /usr/include
# LIBWPG_LIBRARIES - the libraries needed to use LibWpg
# LIBWPG_DEFINITIONS - Compiler switches required for using LibWpg
#
# Copyright (C) 2007 Ariya Hidayat <ariya@kde.org>
# Redistribution and use is allowed according to the terms of the BSD license.
include(LibFindMacros)
libfind_package(LIBWPG LibWpd)
libfind_pkg_check_modules(LIBWPG_PKGCONF libwpg-0.3)
find_path(LIBWPG_INCLUDE_DIR
NAMES libwpg/libwpg.h
HINTS ${LIBWPG_PKGCONF_INCLUDE_DIRS} ${LIBWPG_PKGCONF_INCLUDEDIR}
PATH_SUFFIXES libwpg-0.3
)
find_library(LIBWPG_LIBRARY
NAMES wpg wpg-0.3
HINTS ${LIBWPG_PKGCONF_LIBRARY_DIRS} ${LIBWPG_PKGCONF_LIBDIR}
)
set(LIBWPG_PROCESS_LIBS LIBWPG_LIBRARY LIBWPD_LIBRARIES)
set(LIBWPG_PROCESS_INCLUDES LIBWPG_INCLUDE_DIR LIBWPD_INCLUDE_DIRS)
libfind_process(LIBWPG)
# - Try to find LibWps
# Once done this will define
#
# LIBWPS_FOUND - libwps is available
# LIBWPS_INCLUDE_DIRS - include directory, e.g. /usr/include
# LIBWPS_LIBRARIES - the libraries needed to use LibWps
#
# Copyright (C) 2013 Yue Liu <yue.liu@mail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
include(LibFindMacros)
libfind_package(LIBWPS LibWpd)
libfind_pkg_check_modules(LIBWPS_PKGCONF libwps-0.3)
find_path(LIBWPS_INCLUDE_DIR
NAMES libwps/libwps.h
HINTS ${LIBWPS_PKGCONF_INCLUDE_DIRS} ${LIBWPS_PKGCONF_INCLUDEDIR}
PATH_SUFFIXES libwps-0.3
)
find_library(LIBWPS_LIBRARY
NAMES wps wps-0.3
HINTS ${LIBWPS_PKGCONF_LIBRARY_DIRS} ${LIBWPS_PKGCONF_LIBDIR}
)
set(LIBWPS_PROCESS_LIBS LIBWPS_LIBRARY LIBWPD_LIBRARIES)
set(LIBWPS_PROCESS_INCLUDES LIBWPS_INCLUDE_DIR LIBWPD_INCLUDE_DIRS)
libfind_process(LIBWPS)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment