mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[opensubdiv] Enable support Linux and MacOS (#14276)
This commit is contained in:
parent
416bb1c677
commit
6a437abcde
@ -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}")
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user