From 4ee8f1a6a1ed9a3d8560e91a5c8e025dc446e95b Mon Sep 17 00:00:00 2001
From: lintao <lintao51@gmail.com>
Date: Tue, 6 Sep 2022 16:07:31 +0800
Subject: [PATCH] run install after build.

---
 build-k4.sh | 6 ++++++
 build.sh    | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/build-k4.sh b/build-k4.sh
index 6e2e3bdb..4570c559 100755
--- a/build-k4.sh
+++ b/build-k4.sh
@@ -104,6 +104,10 @@ function run-make() {
     cmake --build .
 }
 
+function run-install() {
+    cmake --install .
+}
+
 ##############################################################################
 # Parse the command line options
 ##############################################################################
@@ -120,3 +124,5 @@ check-working-builddir || exit -1
 run-cmake || exit -1
 
 run-make || exit -1
+
+run-install || exit -1
diff --git a/build.sh b/build.sh
index 337287fe..14c0ab21 100755
--- a/build.sh
+++ b/build.sh
@@ -86,6 +86,10 @@ function run-make() {
     cmake --build .
 }
 
+function run-install() {
+    cmake --install .
+}
+
 ##############################################################################
 # Parse the command line options
 ##############################################################################
@@ -103,3 +107,5 @@ check-working-builddir || exit -1
 run-cmake || exit -1
 
 run-make || exit -1
+
+run-install || exit -1
-- 
GitLab