aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/opensubdiv/fix-feature-cuda.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/opensubdiv/fix-feature-cuda.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/opensubdiv/fix-feature-cuda.patch')
-rw-r--r--vcpkg/ports/opensubdiv/fix-feature-cuda.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/opensubdiv/fix-feature-cuda.patch b/vcpkg/ports/opensubdiv/fix-feature-cuda.patch
new file mode 100644
index 0000000..e9c4e93
--- /dev/null
+++ b/vcpkg/ports/opensubdiv/fix-feature-cuda.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 098df7d..9314d03 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -730,7 +730,7 @@ endmacro()
+ # use when cross compiling or building multi-architecture binaries.
+ # We also provide a C++ binary implementation so that Python is not
+ # required (for backward compatibility).
+-if (OPENGL_FOUND OR OPENCL_FOUND OR DXSDK_FOUND OR METAL_FOUND)
++if (OPENGL_FOUND OR OPENCL_FOUND OR DXSDK_FOUND OR METAL_FOUND OR CUDA_FOUND)
+ if(Python_Interpreter_FOUND)
+ set(OSD_STRINGIFY_TOOL ${CMAKE_CURRENT_SOURCE_DIR}/tools/stringify/stringify.py)
+ set(OSD_STRINGIFY ${Python_EXECUTABLE} ${OSD_STRINGIFY_TOOL})