From baaaf6a9e7e63a8aa9448ea85aa5e8a003e755f4 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Wed, 15 Jan 2025 20:54:26 +0100 Subject: [PATCH] build: fix install --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b2938cc8c1..7e9217f499 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ else RM := rm -rf CMAKE := $(shell (command -v cmake3 || command -v cmake || echo cmake)) CMAKE_GENERATOR ?= "$(shell (command -v ninja > /dev/null 2>&1 && echo "Ninja") || echo "Unix Makefiles")" + GENERATOR_CMD ?= "$(shell (command -v ninja > /dev/null 2>&1 && echo "ninja") || echo "make")" define rmdir rm -rf $1 endef @@ -157,7 +158,7 @@ distclean: $(MAKE) clean install: checkprefix nvim - $(CMAKE_GENERATOR) -C build install + $(GENERATOR_CMD) -C build install appimage: bash scripts/genappimage.sh