Skip to content

Commit

Permalink
[opensubdiv] Add feature opengl (#26940)
Browse files Browse the repository at this point in the history
* [opensubdiv] Add feature opengl

* modify port-version

* x-add-version
  • Loading branch information
LilyWangLL authored Sep 27, 2022
1 parent c954a05 commit d752204
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/opensubdiv/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"ptex" NO_PTEX
"tbb" NO_TBB
"tutorials" NO_TUTORIALS
"opengl" NO_OPENGL
)

set(OSD_EXTRA_OPTS)
Expand Down Expand Up @@ -84,7 +85,6 @@ vcpkg_cmake_configure(
-DNO_GLTESTS=ON
-DNO_CLEW=ON
-DNO_METAL=ON
-DNO_OPENGL=ON # missing glloader
${FEATURE_OPTIONS}
${OSD_EXTRA_OPTS}
MAYBE_UNUSED_VARIABLES
Expand Down
6 changes: 5 additions & 1 deletion ports/opensubdiv/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "opensubdiv",
"version-semver": "3.4.3",
"port-version": 4,
"port-version": 5,
"description": "An Open-Source subdivision surface library.",
"homepage": "https://github.com/PixarAnimationStudios/OpenSubdiv",
"license": "Apache-2.0",
"supports": "!arm & !uwp",
"dependencies": [
{
Expand Down Expand Up @@ -53,6 +54,9 @@
"opencl"
]
},
"opengl": {
"description": "Enable OpenGL support"
},
"ptex": {
"description": "Path to Ptex",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5418,7 +5418,7 @@
},
"opensubdiv": {
"baseline": "3.4.3",
"port-version": 4
"port-version": 5
},
"opentelemetry-cpp": {
"baseline": "1.5.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/opensubdiv.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a2aebb443eae8d15fc85fbeb0ffdb3774b1b09c8",
"version-semver": "3.4.3",
"port-version": 5
},
{
"git-tree": "91fabcb273d865674e59979585b5f9a6739ad6c5",
"version-semver": "3.4.3",
Expand Down

0 comments on commit d752204

Please sign in to comment.