fix: make cmake3 discovery in test deps portable

- Fallback to 'cmake' if 'cmake3' is not found.\n- Fixes build failures on systems where CMake 3.x is provided as 'cmake' (Ubuntu/Debian/Fedora).
pull/5422/head
Rene Cannao 2 months ago
parent 16f8837e0d
commit f45173b9c6

@ -6,7 +6,7 @@ DEPS_PATH := $(PROXYSQL_PATH)/deps
include $(PROXYSQL_PATH)/include/makefiles_vars.mk
include $(PROXYSQL_PATH)/include/makefiles_paths.mk
CMAKE3 ?= cmake3
CMAKE3 := $(shell command -v cmake3 2>/dev/null || command -v cmake 2>/dev/null)
.DEFAULT: default
.PHONY: default

Loading…
Cancel
Save