diff options
author | dundargoc <gocdundar@gmail.com> | 2023-03-05 17:06:13 +0100 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2023-03-05 21:13:28 +0100 |
commit | da0c66bcddbe4e6ebc72357c9f6c5de75e176744 (patch) | |
tree | 2ad9758568691e3f721dd0fa7ff8f49341813d5d /src | |
parent | ca3bc56a3b1b3454498a4a23c0d700486d554077 (diff) | |
download | rneovim-da0c66bcddbe4e6ebc72357c9f6c5de75e176744.tar.gz rneovim-da0c66bcddbe4e6ebc72357c9f6c5de75e176744.tar.bz2 rneovim-da0c66bcddbe4e6ebc72357c9f6c5de75e176744.zip |
build: remove workaround for incorrectly packaged libluv
This removes a workaround for incorrectly packaged libluv in
90e44ecf1144cb32195da00e24d23afb111ea680 as it should not be needed
anymore.
Diffstat (limited to 'src')
-rwxr-xr-x | src/nvim/CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 61530f5a7b..51e0727cd5 100755 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -14,12 +14,8 @@ else() endif() find_package(Libluv 1.43.0 REQUIRED) -target_include_directories(main_lib SYSTEM BEFORE INTERFACE ${LIBLUV_INCLUDE_DIRS}) -# Use "luv" as imported library, to work around CMake using "-lluv" for -# "luv.so". #10407 -add_library(luv UNKNOWN IMPORTED) -set_target_properties(luv PROPERTIES IMPORTED_LOCATION ${LIBLUV_LIBRARIES}) -target_link_libraries(main_lib INTERFACE luv) +target_include_directories(main_lib SYSTEM BEFORE INTERFACE ${LIBLUV_INCLUDE_DIR}) +target_link_libraries(main_lib INTERFACE ${LIBLUV_LIBRARY}) find_package(Iconv REQUIRED) find_package(Libtermkey 0.22 REQUIRED) |