diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-26 22:32:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 22:32:08 +0100 |
commit | 1e37703a74eeebfa14c401db865157c39f1215bf (patch) | |
tree | d5407e5aa49490b748f123c62182115045df15e7 /cmake/FindLibTermkey.cmake | |
parent | 774e59f3f9bf50c8350857c6722bb58df2dd940a (diff) | |
download | rneovim-1e37703a74eeebfa14c401db865157c39f1215bf.tar.gz rneovim-1e37703a74eeebfa14c401db865157c39f1215bf.tar.bz2 rneovim-1e37703a74eeebfa14c401db865157c39f1215bf.zip |
build: remove pkgconfig-related code (#22422)
Cmake should already be able to find everything on its own.
Diffstat (limited to 'cmake/FindLibTermkey.cmake')
-rw-r--r-- | cmake/FindLibTermkey.cmake | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/cmake/FindLibTermkey.cmake b/cmake/FindLibTermkey.cmake index 3e0c7f1bfd..f1f644dbd0 100644 --- a/cmake/FindLibTermkey.cmake +++ b/cmake/FindLibTermkey.cmake @@ -1,23 +1,8 @@ -# - Try to find libtermkey -# Once done this will define -# LIBTERMKEY_FOUND - System has libtermkey -# LIBTERMKEY_INCLUDE_DIRS - The libtermkey include directories -# LIBTERMKEY_LIBRARIES - The libraries needed to use libtermkey - -find_package(PkgConfig) -if (PKG_CONFIG_FOUND) - pkg_check_modules(PC_LIBTERMKEY QUIET termkey) -endif() - -set(LIBTERMKEY_DEFINITIONS ${PC_LIBTERMKEY_CFLAGS_OTHER}) - -find_path(LIBTERMKEY_INCLUDE_DIR termkey.h - PATHS ${PC_LIBTERMKEY_INCLUDEDIR} ${PC_LIBTERMKEY_INCLUDE_DIRS}) +find_path(LIBTERMKEY_INCLUDE_DIR termkey.h) list(APPEND LIBTERMKEY_NAMES termkey) -find_library(LIBTERMKEY_LIBRARY NAMES ${LIBTERMKEY_NAMES} - HINTS ${PC_LIBTERMKEY_LIBDIR} ${PC_LIBTERMKEY_LIBRARY_DIRS}) +find_library(LIBTERMKEY_LIBRARY NAMES ${LIBTERMKEY_NAMES}) set(LIBTERMKEY_LIBRARIES ${LIBTERMKEY_LIBRARY}) set(LIBTERMKEY_INCLUDE_DIRS ${LIBTERMKEY_INCLUDE_DIR}) |