mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	build: add quotes around CMAKE_GENERATOR variable
				
					
				
			This will fix the following error when using generators that have a space in them, e.g. "Unix Makefiles": "CMake Error: Could not create named generator Unix". Closes https://github.com/neovim/neovim/issues/30218.
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -14,7 +14,7 @@ else | ||||
|   TOUCH := touch | ||||
|   RM := rm -rf | ||||
|   CMAKE := $(shell (command -v cmake3 || echo cmake)) | ||||
|   CMAKE_GENERATOR ?= $(shell (command -v ninja > /dev/null 2>&1 && echo "Ninja") || echo "Unix Makefiles") | ||||
|   CMAKE_GENERATOR ?= "$(shell (command -v ninja > /dev/null 2>&1 && echo "Ninja") || echo "Unix Makefiles")" | ||||
|   define rmdir | ||||
|     rm -rf $1 | ||||
|   endef | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dundargoc
					dundargoc