File: FindTermcap.cmake

package info (click to toggle)
hatari 2.4.1%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 13,840 kB
  • sloc: ansic: 161,233; python: 5,787; objc: 1,900; asm: 1,679; sh: 1,629; javascript: 145; makefile: 86; xml: 32
file content (14 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

if(TERMCAP_INCLUDE_DIR)
  # Already in cache, be silent
  set(TERMCAP_FIND_QUIETLY TRUE)
endif(TERMCAP_INCLUDE_DIR)

find_path(TERMCAP_INCLUDE_DIR termcap.h)
find_library(TERMCAP_LIBRARY NAMES termcap)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Termcap DEFAULT_MSG
                                  TERMCAP_LIBRARY TERMCAP_INCLUDE_DIR)

mark_as_advanced(TERMCAP_LIBRARY TERMCAP_INCLUDE_DIR)