File: CVDFindTooN.cmake

package info (click to toggle)
libcvd 0.0~git20221020150751.30e8cfc%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 5,424 kB
  • sloc: cpp: 176,262; sh: 3,152; objc: 418; makefile: 238
file content (25 lines) | stat: -rw-r--r-- 555 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#.rst:
# CVDFindTooN
# -----------
#
# Find the native TooN includes.
#
# Result Variables
# ^^^^^^^^^^^^^^^^
#
# This module defines the following variables:
#
# ::
#
#   CVD_TooN_INCLUDE_DIRS   - where to find the TooN includes.
#   CVD_TooN_FOUND          - True if TooN found.

find_path(CVD_TooN_INCLUDE_DIR NAMES TooN/TooN.h PATH_SUFFIXES include)

FIND_PACKAGE_HANDLE_STANDARD_ARGS(CVD_TooN REQUIRED_VARS CVD_TooN_INCLUDE_DIR)

if(CVD_TooN_FOUND)
	set(CVD_TooN_INCLUDE_DIRS ${CVD_TooN_INCLUDE_DIR})
endif()

mark_as_advanced(CVD_TooN_INCLUDE_DIR )