File: FindCairo.cmake

package info (click to toggle)
performous 1.3.1%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,368 kB
  • sloc: cpp: 35,854; sh: 927; python: 631; xml: 480; makefile: 37
file content (14 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# - Try to find Cairo
# Once done, this will define
#
#  Cairo_FOUND - system has Cairo
#  Cairo_INCLUDE_DIRS - the Cairo include directories
#  Cairo_LIBRARIES - link these to use Cairo

include(LibFindMacros)
libfind_package(Cairo Freetype)  # Cairo depends on Freetype
libfind_pkg_detect(Cairo cairo FIND_PATH cairo.h PATH_SUFFIXES cairo FIND_LIBRARY cairo)
libfind_process(Cairo)