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