mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
build: vendor libtermkey
This is a proof of concept/WIP to evaluate the viability of vendoring libtermkey as it's been deprecated.
This commit is contained in:
committed by
Gregory Anders
parent
7feed6ccb7
commit
404043e74c
@ -1,9 +0,0 @@
|
||||
find_path2(LIBTERMKEY_INCLUDE_DIR termkey.h)
|
||||
find_library2(LIBTERMKEY_LIBRARY NAMES termkey)
|
||||
find_package_handle_standard_args(Libtermkey DEFAULT_MSG
|
||||
LIBTERMKEY_LIBRARY LIBTERMKEY_INCLUDE_DIR)
|
||||
mark_as_advanced(LIBTERMKEY_INCLUDE_DIR LIBTERMKEY_LIBRARY)
|
||||
|
||||
add_library(libtermkey INTERFACE)
|
||||
target_include_directories(libtermkey SYSTEM BEFORE INTERFACE ${LIBTERMKEY_INCLUDE_DIR})
|
||||
target_link_libraries(libtermkey INTERFACE ${LIBTERMKEY_LIBRARY})
|
Reference in New Issue
Block a user