mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
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:
parent
5ecf312dc7
commit
37e0acdd06
2 changed files with 4 additions and 2 deletions
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue