diff options
author | dundargoc <gocdundar@gmail.com> | 2024-09-02 12:51:30 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-09-02 17:37:15 +0200 |
commit | ef8067a19d981388a14407ea08245811cf5b3604 (patch) | |
tree | d9d71945db004c3f5ed779092902cd6f09b0aa0e | |
parent | 60ea0467411d8452b0af75836aec377cbe781fbc (diff) | |
download | rneovim-ef8067a19d981388a14407ea08245811cf5b3604.tar.gz rneovim-ef8067a19d981388a14407ea08245811cf5b3604.tar.bz2 rneovim-ef8067a19d981388a14407ea08245811cf5b3604.zip |
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.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |