misc/projectM: Fix build against latest ftgl.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Franzen 2020-01-18 07:22:06 +07:00 committed by Willy Sudiarto Raharjo
parent c9ed3e263e
commit 6607664a45
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -24,7 +24,7 @@
PRGNAM=projectM
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -78,7 +78,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lglut -lGL" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lglut -lGL -std=c++11" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \