diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-08-16 21:35:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-16 21:35:51 +0200 |
| commit | 5b32bce73c93a64970afe0e92e0a8ba2fed88619 (patch) | |
| tree | 7f55a3b3dd362fbbc59ff204287a0aae99089e5e /cmake | |
| parent | cea1248f7d357252d53df946093cdab4b889e6e5 (diff) | |
| parent | 9a6eb71ebaac745198fdc4cec68e51731103c3d9 (diff) | |
| download | rneovim-5b32bce73c93a64970afe0e92e0a8ba2fed88619.tar.gz rneovim-5b32bce73c93a64970afe0e92e0a8ba2fed88619.tar.bz2 rneovim-5b32bce73c93a64970afe0e92e0a8ba2fed88619.zip | |
Merge #7007 'Windows :terminal'
References #6383
Closes #4748
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/FindWinpty.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/FindWinpty.cmake b/cmake/FindWinpty.cmake new file mode 100644 index 0000000000..8feafc58a8 --- /dev/null +++ b/cmake/FindWinpty.cmake @@ -0,0 +1,10 @@ +include(LibFindMacros) + +find_path(WINPTY_INCLUDE_DIR winpty.h) +set(WINPTY_INCLUDE_DIRS ${WINPTY_INCLUDE_DIR}) + +find_library(WINPTY_LIBRARY winpty) +find_program(WINPTY_AGENT_EXE winpty-agent.exe) +set(WINPTY_LIBRARIES ${WINPTY_LIBRARY}) + +find_package_handle_standard_args(Winpty DEFAULT_MSG WINPTY_LIBRARY WINPTY_INCLUDE_DIR) |