File: FindLibkvm.cmake

package info (click to toggle)
fcitx 1%3A4.2.9.9-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 19,800 kB
  • sloc: ansic: 134,151; cpp: 7,280; sh: 2,778; python: 800; xml: 345; makefile: 42
file content (15 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Try to find Libkvm functionality
# Once done this will define
#
#  LIBKVM_FOUND - system has Libkvm
#  LIBKVM_INCLUDE_DIR - Libkvm include directory
#  LIBKVM_LIBRARIES - Libraries needed to use Libkvm
#

find_path(LIBKVM_INCLUDE_DIR kvm.h)
find_library(LIBKVM_LIBRARIES NAMES kvm)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libkvm  DEFAULT_MSG  LIBKVM_INCLUDE_DIR  LIBKVM_LIBRARIES)

mark_as_advanced(LIBKVM_INCLUDE_DIR  LIBKVM_LIBRARIES)