aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindLIBVTERM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindLIBVTERM.cmake')
-rw-r--r--cmake/FindLIBVTERM.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/FindLIBVTERM.cmake b/cmake/FindLIBVTERM.cmake
new file mode 100644
index 0000000000..469494ddfd
--- /dev/null
+++ b/cmake/FindLIBVTERM.cmake
@@ -0,0 +1,10 @@
+# - Try to find libvterm
+# Once done this will define
+# LIBVTERM_FOUND - System has libvterm
+# LIBVTERM_INCLUDE_DIRS - The libvterm include directories
+# LIBVTERM_LIBRARIES - The libraries needed to use libvterm
+
+include(LibFindMacros)
+
+libfind_pkg_detect(LIBVTERM vterm FIND_PATH vterm.h FIND_LIBRARY vterm)
+libfind_process(LIBVTERM REQUIRED)