libraries/cpp-jwt: Fix version in cmake.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Steven Voges 2023-09-01 23:50:24 +07:00 committed by Willy Sudiarto Raharjo
parent f5c441a87a
commit 745b30b750

View file

@ -2,7 +2,7 @@
# Slackware build script for cpp-jwt
# Copyright 2022 Steven Voges <Oregon, USA>
# Copyright 2022-2023 Steven Voges <Oregon, USA>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cpp-jwt
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -76,6 +76,9 @@ 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 {} \;
#Fix version so cmake can fine the proper files.
sed -i "s/1.2.0/1.4.0/g" CMakeLists.txt
mkdir -p build
cd build
cmake \