aboutsummaryrefslogtreecommitdiffstats
path: root/build/external/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build/external/Makefile')
-rw-r--r--build/external/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/external/Makefile b/build/external/Makefile
index aed8b2ecb27..c56e16d1f51 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -27,6 +27,12 @@ JOBS := $(if $(shell [ -f /proc/cpuinfo ] && head /proc/cpuinfo),\
B := $(BUILD_DIR)
I := $(INSTALL_DIR)
+ifneq ($(shell which cmake3),)
+CMAKE?=cmake3
+else
+CMAKE?=cmake
+endif
+
include packages.mk
include packages/nasm.mk
include packages/ipsec-mb.mk