vfio-user: support cmake3
libvfio-user now uses cmake3 if available, so check for that as well as cmake. Signed-off-by: John 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: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
f651e22a98
commit
2975e0dbb5
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user