aboutsummaryrefslogtreecommitdiff
path: root/libraries/flatbuffers/flatbuffers.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-09-27 09:01:29 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:23:13 -0500
commit4994981b7422ec9e8c041f10a714efa49b40d978 (patch)
tree9868ae6a72b29a9ef6c429fbbeb35c04e63bf7b4 /libraries/flatbuffers/flatbuffers.SlackBuild
parent75bf431eaed00501e601a6767844dfd02ab4b2b9 (diff)
libraries/flatbuffers: Updated for version 1.12.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/flatbuffers/flatbuffers.SlackBuild')
-rw-r--r--libraries/flatbuffers/flatbuffers.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/flatbuffers/flatbuffers.SlackBuild b/libraries/flatbuffers/flatbuffers.SlackBuild
index 0553016c6213..b741bb42afc0 100644
--- a/libraries/flatbuffers/flatbuffers.SlackBuild
+++ b/libraries/flatbuffers/flatbuffers.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=flatbuffers
-VERSION=${VERSION:-1.7.1}
+VERSION=${VERSION:-1.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/flatbuffers.patch
mkdir -p build
cd build
cmake \
@@ -77,7 +76,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DFLATBUFFERS_BUILD_FLATC=ON \
-DFLATBUFFERS_BUILD_FLATHASH=ON \
-DFLATBUFFERS_BUILD_FLATLIB=ON \