Hex viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FindNcursesw.cmake 552B

1234567891011121314151617
  1. # Public Domain
  2. find_package (PkgConfig REQUIRED)
  3. pkg_check_modules (NCURSESW QUIET ncursesw)
  4. # OpenBSD doesn't provide a pkg-config file
  5. set (required_vars NCURSESW_LIBRARIES)
  6. if (NOT NCURSESW_FOUND)
  7. find_library (NCURSESW_LIBRARIES NAMES ncursesw)
  8. find_path (NCURSESW_INCLUDE_DIRS ncurses.h)
  9. list (APPEND required_vars NCURSESW_INCLUDE_DIRS)
  10. endif (NOT NCURSESW_FOUND)
  11. include (FindPackageHandleStandardArgs)
  12. FIND_PACKAGE_HANDLE_STANDARD_ARGS (NCURSESW DEFAULT_MSG ${required_vars})
  13. mark_as_advanced (NCURSESW_LIBRARIES NCURSESW_INCLUDE_DIRS)