aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLuv.cmake
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-03-02 22:50:43 +0100
committerGitHub <noreply@github.com>2023-03-02 22:50:43 +0100
commit4cf4ae93df6af09ef3a0df678bb3d154b65bf731 (patch)
treee9b47e7b94fe74f1f568cfbca89790716a1c0625 /cmake.deps/cmake/BuildLuv.cmake
parentf449121764c19cebda7b8b2c970b76bc8121bae7 (diff)
downloadrneovim-4cf4ae93df6af09ef3a0df678bb3d154b65bf731.tar.gz
rneovim-4cf4ae93df6af09ef3a0df678bb3d154b65bf731.tar.bz2
rneovim-4cf4ae93df6af09ef3a0df678bb3d154b65bf731.zip
build: cmake cleanup (#22251)
- Remove unused code - Use consistent casing. Variable names such as LibLuV_LIBRARIES is needlessly jarring, even if the name might be technically correct. - Use title casing for packages. find_package(unibilium) requires the find_module to be named "Findunibilium.cmake", which makes it harder to spot when scanning the files. Instead, use "Unibilium".
Diffstat (limited to 'cmake.deps/cmake/BuildLuv.cmake')
-rw-r--r--cmake.deps/cmake/BuildLuv.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmake.deps/cmake/BuildLuv.cmake b/cmake.deps/cmake/BuildLuv.cmake
index 0cb0208bea..c5f38fe68b 100644
--- a/cmake.deps/cmake/BuildLuv.cmake
+++ b/cmake.deps/cmake/BuildLuv.cmake
@@ -14,7 +14,7 @@ if(USE_BUNDLED_LUAJIT)
elseif(USE_BUNDLED_LUA)
list(APPEND LUV_CMAKE_ARGS -D WITH_LUA_ENGINE=Lua)
else()
- find_package(LuaJit)
+ find_package(Luajit)
if(LUAJIT_FOUND)
list(APPEND LUV_CMAKE_ARGS -D WITH_LUA_ENGINE=LuaJit)
else()
@@ -23,9 +23,7 @@ else()
endif()
if(USE_BUNDLED_LIBUV)
- list(APPEND LUV_CMAKE_ARGS
- -D CMAKE_PREFIX_PATH=${DEPS_INSTALL_DIR}
- -D LIBUV_LIBRARIES=uv_a)
+ list(APPEND LUV_CMAKE_ARGS -D CMAKE_PREFIX_PATH=${DEPS_INSTALL_DIR})
endif()
list(APPEND LUV_CMAKE_ARGS