OpenSubDiv: Build fix (#2921)

This commit is contained in:
miqlas
2018-08-25 21:18:09 +02:00
committed by waddlesplash
parent f34f189c21
commit c52a13aaca
2 changed files with 5 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ LICENSE="Apache v2"
REVISION="1" REVISION="1"
SOURCE_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${portVersion//\./_}.tar.gz" SOURCE_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${portVersion//\./_}.tar.gz"
CHECKSUM_SHA256="d11a0f21bcf21156f9071ea49050ec6675b77776b9dba33b8e30b072d82a8b05" CHECKSUM_SHA256="d11a0f21bcf21156f9071ea49050ec6675b77776b9dba33b8e30b072d82a8b05"
SOURCE_FILENAME="opensubdiv-$portVersion.tar.gz"
SOURCE_DIR="OpenSubdiv-${portVersion//\./_}" SOURCE_DIR="OpenSubdiv-${portVersion//\./_}"
PATCHES="opensubdiv-$portVersion.patchset" PATCHES="opensubdiv-$portVersion.patchset"
@@ -78,13 +79,8 @@ BUILD()
mkdir -p build mkdir -p build
cd build cd build
local GLEW_SUBDIR= export GLEW_LOCATION="$portPackageLinksDir/devel~libglew/$relativeDevelopDir/"
if [ -n "$secondaryArchSuffix" ]; then export GLEW_INC_LOCATION="$portPackageLinksDir/devel~libglew/$relativeIncludeDir/"
GLEW_SUBDIR="$secondaryArchSuffix/"
fi
export GLEW_LOCATION="$portPackageLinksDir/glew${secondaryArchSuffix}_devel/develop"
export GLEW_INC_LOCATION="$portPackageLinksDir/glew${secondaryArchSuffix}_devel/develop/headers$UNITTEST_SUBDIR"
cmake .. \ cmake .. \
-DNO_EXAMPLES=ON \ -DNO_EXAMPLES=ON \

View File

@@ -82,13 +82,8 @@ BUILD()
mkdir -p build mkdir -p build
cd build cd build
local GLEW_SUBDIR= export GLEW_LOCATION="$portPackageLinksDir/devel~libglew/$relativeDevelopDir/"
if [ -n "$secondaryArchSuffix" ]; then export GLEW_INC_LOCATION="$portPackageLinksDir/devel~libglew/$relativeIncludeDir/"
GLEW_SUBDIR="$secondaryArchSuffix/"
fi
export GLEW_LOCATION="$portPackageLinksDir/glew${secondaryArchSuffix}_devel/develop"
export GLEW_INC_LOCATION="$portPackageLinksDir/glew${secondaryArchSuffix}_devel/develop/headers$UNITTEST_SUBDIR"
cmake .. \ cmake .. \
-DNO_EXAMPLES=ON \ -DNO_EXAMPLES=ON \