Commit 2975e0db authored by John Levon's avatar John Levon Committed by Tomasz Zawadzki
Browse files

vfio-user: support cmake3



libvfio-user now uses cmake3 if available, so check for that as well as cmake.

Signed-off-by: default avatarJohn Levon <john.levon@nutanix.com>
Change-Id: Idf7a496d0d3fec21140afeede56337e53ad475fd
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7954


Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent f651e22a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -472,7 +472,7 @@ BUILD_CMD+=(-I/usr/local/include -L/usr/local/lib)

if [[ "${CONFIG[VFIO_USER]}" = "y" ]]; then

	if ! hash cmake; then
	if ! bash -c "command -v cmake3 cmake" > /dev/null; then
		echo "ERROR: --with-vfio-user requires cmake"
		echo "Please install then re-run this script"
		exit 1