graphics/OpenSubdiv: Fix build with glfw3

Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christoph Willing 2023-04-15 10:57:28 +10:00 committed by Willy Sudiarto Raharjo
parent 5ecf312dc7
commit 37e0acdd06
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 4 additions and 2 deletions

View file

@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenSubdiv
VERSION=${VERSION:-3.5.0}
SRCVER=$(echo $VERSION | tr . _)
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -74,6 +74,7 @@ cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
sed -i -e '/${OPENGL_gl_LIBRARY}/a${OPENGL_glx_LIBRARY}' CMakeLists.txt
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View file

@ -6,4 +6,5 @@ framerates.
Additional utility is available in OpenSubdiv when the following SBo
packages are installed and detected at build time:
tbb cudatoolkit glfw
tbb cudatoolkit glfw3