neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 38365fa2ef86057775cc17b21c02a38761adbe3c
parent aec4b476c5689f032103ab3e0ca068fc2af8bbba
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date:   Fri, 27 Jan 2023 14:16:31 +0100

build: fix dependencies in find modules (#22017)

Find modules should only link to libraries defined in the find module,
and not the main project. This helps the find modules be more self-contained and easier to understand.
Diffstat:
Mcmake/Findlibvterm.cmake | 2+-
Mcmake/Findunibilium.cmake | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/Findlibvterm.cmake b/cmake/Findlibvterm.cmake @@ -17,4 +17,4 @@ find_package_handle_standard_args(libvterm add_library(libvterm INTERFACE) target_include_directories(libvterm SYSTEM BEFORE INTERFACE INTERFACE ${LIBVTERM_INCLUDE_DIR}) -target_link_libraries(main_lib INTERFACE ${LIBVTERM_LIBRARY}) +target_link_libraries(libvterm INTERFACE ${LIBVTERM_LIBRARY}) diff --git a/cmake/Findunibilium.cmake b/cmake/Findunibilium.cmake @@ -23,5 +23,5 @@ main(void) list(REMOVE_ITEM CMAKE_REQUIRED_INCLUDES "${UNIBILIUM_INCLUDE_DIR}") list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "${UNIBILIUM_LIBRARY}") if(UNIBI_HAS_VAR_FROM) - target_compile_definitions(main_lib INTERFACE NVIM_UNIBI_HAS_VAR_FROM) + target_compile_definitions(unibilium INTERFACE NVIM_UNIBI_HAS_VAR_FROM) endif()