OpenSceneGraph: Enable GL3 (#3221)

This commit is contained in:
kenmays
2018-10-16 14:59:23 -07:00
committed by fbrosson
parent e1dfc19d92
commit 5f3dd2332d

View File

@@ -10,7 +10,7 @@ virtual reality industries."
HOMEPAGE="http://www.openscenegraph.org/"
COPYRIGHT="2002-2018 Robert Osfield and others"
LICENSE="OSGPL"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-$portVersion.tar.gz"
CHECKSUM_SHA256="51bbc79aa73ca602cd1518e4e25bd71d41a10abd296e18093a8acfebd3c62696"
SOURCE_DIR="OpenSceneGraph-OpenSceneGraph-$portVersion"
@@ -158,7 +158,8 @@ BUILD()
mkdir -p build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=$prefix \
-DBUILD_OSG_APPLICATIONS=OFF \
-DBUILD_OSG_APPLICATIONS:BOOL=OFF \
-DOSG_GL3_AVAILABLE:BOOL=ON \
-DOSG_WINDOWING_SYSTEM=None \
$cmakeDirArgs
make $jobArgs