aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-10-31 03:53:55 +0800
committerGitHub <noreply@github.com>2020-10-30 12:53:55 -0700
commit6a437abcde0e6255e98591baa15b3f8c6825a24b (patch)
tree0a474d7578ed254025526fb9564f841ab698c6aa
parent416bb1c67769a32f7c090408715117bfebb0215e (diff)
downloadvcpkg-6a437abcde0e6255e98591baa15b3f8c6825a24b.tar.gz
vcpkg-6a437abcde0e6255e98591baa15b3f8c6825a24b.zip
[opensubdiv] Enable support Linux and MacOS (#14276)
-rw-r--r--ports/opensubdiv/portfile.cmake10
-rw-r--r--ports/opensubdiv/vcpkg.json2
2 files changed, 10 insertions, 2 deletions
diff --git a/ports/opensubdiv/portfile.cmake b/ports/opensubdiv/portfile.cmake
index c23e14476..f4c8bf1d8 100644
--- a/ports/opensubdiv/portfile.cmake
+++ b/ports/opensubdiv/portfile.cmake
@@ -1,4 +1,4 @@
-vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "linux" "osx" "uwp")
+vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@@ -10,6 +10,14 @@ vcpkg_from_github(
fix_compile-option.patch
)
+if(VCPKG_TARGET_IS_LINUX)
+ message(
+"OpenSubdiv currently requires the following libraries from the system package manager:
+ xinerama
+
+These can be installed on Ubuntu systems via sudo apt install libxinerama-dev")
+endif()
+
vcpkg_find_acquire_program(PYTHON2)
get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY)
vcpkg_add_to_path("${PYTHON2_DIR}")
diff --git a/ports/opensubdiv/vcpkg.json b/ports/opensubdiv/vcpkg.json
index b66c98d7b..0849aaa59 100644
--- a/ports/opensubdiv/vcpkg.json
+++ b/ports/opensubdiv/vcpkg.json
@@ -3,5 +3,5 @@
"version-string": "3.4.3",
"description": "An Open-Source subdivision surface library.",
"homepage": "https://github.com/PixarAnimationStudios/OpenSubdiv",
- "supports": "windows & !arm & !uwp"
+ "supports": "!arm & !uwp"
}