FindWinpty.cmake 324 B

1234567891011
  1. include(LibFindMacros)
  2. find_path(WINPTY_INCLUDE_DIR winpty.h)
  3. set(WINPTY_INCLUDE_DIRS ${WINPTY_INCLUDE_DIR})
  4. find_library(WINPTY_LIBRARY winpty)
  5. find_program(WINPTY_AGENT_EXE winpty-agent.exe)
  6. set(WINPTY_LIBRARIES ${WINPTY_LIBRARY})
  7. find_package_handle_standard_args(Winpty DEFAULT_MSG WINPTY_LIBRARY WINPTY_INCLUDE_DIR)