mirror of
https://github.com/neovim/neovim.git
synced 2025-11-27 20:50:39 +00:00
build: remove libfindmacros library (#22423)
Large parts the library weren't being used, and the parts that were was overly
abstracted for our use case. Additionally, part of its use case was to abstract
pkgconfig boilerplate, which is no longer needed as pkgconfig has been removed
in favor of relying on cmake alone in 09118052ce.
This commit is contained in:
@@ -1,16 +1,5 @@
|
||||
find_path(LIBTERMKEY_INCLUDE_DIR termkey.h)
|
||||
|
||||
list(APPEND LIBTERMKEY_NAMES termkey)
|
||||
|
||||
find_library(LIBTERMKEY_LIBRARY NAMES ${LIBTERMKEY_NAMES})
|
||||
|
||||
set(LIBTERMKEY_LIBRARIES ${LIBTERMKEY_LIBRARY})
|
||||
set(LIBTERMKEY_INCLUDE_DIRS ${LIBTERMKEY_INCLUDE_DIR})
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
# handle the QUIETLY and REQUIRED arguments and set LIBTERMKEY_FOUND to TRUE
|
||||
# if all listed variables are TRUE
|
||||
find_library(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)
|
||||
|
||||
Reference in New Issue
Block a user