aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjackiechen1985 <xiaobo.chen@tieto.com>2019-06-19 15:15:41 +0800
committerjackiechen1985 <xiaobo.chen@tieto.com>2019-06-19 15:16:07 +0800
commit9577e763933b61cc34f77e8b8f886e78c00176fc (patch)
treeae7ee15b705ad2817ff9d028a1b0bae803374636
parent657ed1fac3642dca621b8c7b00fbdd93d508ec5f (diff)
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 <xiaobo.chen@tieto.com>
-rw-r--r--Makefile4
1 files 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 '@'