mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
c50951a4d0
- simplify lua interpreter search - fix incorrect variable name in BuildLua.cmake - build PUC Lua with -O2 - silence non-mandatory find_package search for libuv - simplify Find modules - Prefer using the explicitly set CI_BUILD over relying on the environment variable "CI".
7 lines
293 B
CMake
7 lines
293 B
CMake
find_path(LUV_INCLUDE_DIR luv/luv.h PATH_SUFFIXES lua5.1)
|
|
find_library(LUV_LIBRARY NAMES luv_a luv libluv_a luv${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES lua/5.1)
|
|
|
|
find_package_handle_standard_args(Luv DEFAULT_MSG
|
|
LUV_LIBRARY LUV_INCLUDE_DIR)
|
|
mark_as_advanced(LUV_INCLUDE_DIR LUV_LIBRARY)
|