mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 05:03:03 +08:00
[Openvdb] Build Tools in static (#29989)
* [Openvdb] Build Tools in static * update version * add function * vdb
This commit is contained in:
parent
4674f57bbb
commit
b2b743ab90
@ -15,14 +15,12 @@ file(REMOVE "${SOURCE_PATH}/cmake/FindOpenEXR.cmake")
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" OPENVDB_STATIC)
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" OPENVDB_SHARED)
|
||||
|
||||
set(OPENVDB_BUILD_TOOLS OFF)
|
||||
if ("tools" IN_LIST FEATURES)
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
set(OPENVDB_BUILD_TOOLS ON)
|
||||
else()
|
||||
message(FATAL_ERROR "Unable to build tools if static libraries are required")
|
||||
endif()
|
||||
endif()
|
||||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
"tools" OPENVDB_BUILD_TOOLS
|
||||
)
|
||||
|
||||
|
||||
if ("ax" IN_LIST FEATURES)
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "openvdb",
|
||||
"version": "10.0.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Sparse volume data structure and tools",
|
||||
"homepage": "https://github.com/dreamworksanimation/openvdb",
|
||||
"license": "MPL-2.0",
|
||||
|
@ -5834,7 +5834,7 @@
|
||||
},
|
||||
"openvdb": {
|
||||
"baseline": "10.0.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"openvpn3": {
|
||||
"baseline": "3.7.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "65264bf4e9ac9e13e48374147f7b4454b8e45b97",
|
||||
"version": "10.0.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "3b23307372371effd658ce072409367db12ed688",
|
||||
"version": "10.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user