mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	build: allow using system rocks
This allow distributions and other interested parties to use a system busted rather than the on neovim bundles by passing the -D USE_BUNDLED_BUSTED=ON flag to cmake when building. Closes https://github.com/neovim/neovim/issues/23814.
This commit is contained in:
		| @@ -286,7 +286,9 @@ ExternalProject_Add(uncrustify | ||||
|   CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS} | ||||
|   EXCLUDE_FROM_ALL TRUE) | ||||
|  | ||||
| ExternalProject_Add(lua-dev-deps | ||||
| option(USE_BUNDLED_BUSTED "Use bundled luarocks" ON) | ||||
| if(USE_BUNDLED_BUSTED) | ||||
|   ExternalProject_Add(lua-dev-deps | ||||
|     URL https://github.com/neovim/deps/raw/5a1f71cceb24990a0b15fd9a472a5f549f019248/opt/lua-dev-deps.tar.gz | ||||
|     URL_HASH SHA256=27db2495f5eddc7fc191701ec9b291486853530c6125609d3197d03481e8d5a2 | ||||
|     DOWNLOAD_NO_PROGRESS TRUE | ||||
| @@ -296,3 +298,6 @@ ExternalProject_Add(lua-dev-deps | ||||
|     BUILD_COMMAND "" | ||||
|     INSTALL_COMMAND "" | ||||
|     EXCLUDE_FROM_ALL TRUE) | ||||
| else() | ||||
|   add_custom_target(lua-dev-deps) | ||||
| endif() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dundargoc
					dundargoc