aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 84d4859bb3..fe83f302e8 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ else
MKDIR := mkdir -p
TOUCH := touch
RM := rm -rf
- CMAKE := $(shell (command -v cmake3 || echo cmake))
+ 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")"
define rmdir
rm -rf $1