aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build_common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/build_common.mk b/build/build_common.mk
index 88529a4537e..8f8a0a1db43 100644
--- a/build/build_common.mk
+++ b/build/build_common.mk
@@ -41,7 +41,7 @@ L := $(WORKSPACE)/archives/install-deps-logs
$(shell rm -rf $(L) && mkdir -p $(L))
endif
-ifneq ($(shell which cmake3),)
+ifneq ($(shell which cmake3 2>/dev/null),)
CMAKE?=cmake3
else
CMAKE?=cmake