diff --git a/ports/openvdb/portfile.cmake b/ports/openvdb/portfile.cmake index dee9a44d43ba3f..e6f746ce9c183e 100644 --- a/ports/openvdb/portfile.cmake +++ b/ports/openvdb/portfile.cmake @@ -21,11 +21,11 @@ vcpkg_check_features( "tools" OPENVDB_BUILD_TOOLS "ax" OPENVDB_BUILD_AX "nanovdb" OPENVDB_BUILD_NANOVDB + "nanovdb-tools" NANOVDB_BUILD_TOOLS ) if (OPENVDB_BUILD_NANOVDB) set(NANOVDB_OPTIONS - -DNANOVDB_BUILD_TOOLS=OFF -DNANOVDB_USE_INTRINSICS=ON -DNANOVDB_USE_CUDA=ON -DNANOVDB_CUDA_KEEP_PTX=ON @@ -68,6 +68,10 @@ if (OPENVDB_BUILD_TOOLS) vcpkg_copy_tools(TOOL_NAMES vdb_print vdb_render vdb_view vdb_lod AUTO_CLEAN) endif() +if (NANOVDB_BUILD_TOOLS) + vcpkg_copy_tools(TOOL_NAMES nanovdb_convert nanovdb_print nanovdb_validate AUTO_CLEAN) +endif() + configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY) file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/openvdb/openvdb/COPYRIGHT") diff --git a/ports/openvdb/vcpkg.json b/ports/openvdb/vcpkg.json index 0e1eb083862cf5..9a5856c2f33bbf 100644 --- a/ports/openvdb/vcpkg.json +++ b/ports/openvdb/vcpkg.json @@ -1,6 +1,7 @@ { "name": "openvdb", "version": "12.0.0", + "port-version": 1, "description": "Sparse volume data structure and tools", "homepage": "https://github.com/dreamworksanimation/openvdb", "license": "MPL-2.0", @@ -44,6 +45,17 @@ "cuda" ] }, + "nanovdb-tools": { + "description": "NanoVDB tools: print, validate, and convert.", + "dependencies": [ + { + "name": "openvdb", + "features": [ + "nanovdb" + ] + } + ] + }, "tools": { "description": "OpenVDB utilities: view, print and render", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index 47f830b98d9cd3..3d4d249b690dc9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6878,7 +6878,7 @@ }, "openvdb": { "baseline": "12.0.0", - "port-version": 0 + "port-version": 1 }, "openvino": { "baseline": "2025.0.0", diff --git a/versions/o-/openvdb.json b/versions/o-/openvdb.json index f3113ddbd761b6..ca7e96bf6a7225 100644 --- a/versions/o-/openvdb.json +++ b/versions/o-/openvdb.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "0a440c407a2282daceb06a6d4cd539a8ba067872", + "version": "12.0.0", + "port-version": 1 + }, { "git-tree": "bb88224f64822d690b692169cbcdb87ffdb9d597", "version": "12.0.0",