From 9577e763933b61cc34f77e8b8f886e78c00176fc Mon Sep 17 00:00:00 2001 From: jackiechen1985 Date: Wed, 19 Jun 2019 15:15:41 +0800 Subject: Fix "cmake not found" error in CentOS 7.5 In CentOS, the executive binary for cmake3 is "cmake3" rather that cmake in Ubuntu. Change-Id: Ib2ce2310e5a8e78ef8a5c53e8d88aca74faf1818 Signed-off-by: jackiechen1985 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 07261ae..9a6b237 100644 --- a/Makefile +++ b/Makefile @@ -248,7 +248,7 @@ install-test-extra: _clean_dl _libssh _test_python _ydk build-scvpp: @mkdir -p $(BR)/build-scvpp/; cd $(BR)/build-scvpp; \ - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/scvpp/;\ + $(cmake) -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/scvpp/;\ make install @# NEW INSTRUCTIONS TO BUILD-SCVPP MUST BE DECLARED ON A NEW LINE WITH '@' @@ -257,7 +257,7 @@ test-scvpp: build-scvpp build-plugins: @mkdir -p $(BR)/build-plugins/; cd $(BR)/build-plugins/; \ - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/plugins/; \ + $(cmake) -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/plugins/; \ make install @# NEW INSTRUCTIONS TO BUILD-PLUGINS MUST BE DECLARED ON A NEW LINE WITH '@' -- cgit 1.2.3-korg