mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
make use of libuv when found by CMake
This commit is contained in:
parent
598f9fba86
commit
2a6780431e
@ -29,6 +29,7 @@ endif(NOT CMAKE_USE_PTHREADS_INIT)
|
||||
|
||||
# Require libuv
|
||||
find_package(LibUV REQUIRED)
|
||||
include_directories(${LibUV_INCLUDE_DIRS})
|
||||
|
||||
# add dependencies to include/lib directories
|
||||
link_directories ("${PROJECT_SOURCE_DIR}/.deps/usr/lib")
|
||||
|
@ -14,7 +14,7 @@ file( GLOB OS_SOURCES os/*.c )
|
||||
|
||||
add_executable (nvim ${NEOVIM_SOURCES} ${OS_SOURCES})
|
||||
|
||||
target_link_libraries (nvim m uv ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries (vim m ${LibUV_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
include(CheckLibraryExists)
|
||||
check_library_exists(termcap tgetent "" HAVE_LIBTERMCAP)
|
||||
|
Loading…
Reference in New Issue
Block a user