diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2020-07-22 01:04:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-21 16:04:45 -0700 |
| commit | 0896cfcc301843b455bf14497a15b0e775735198 (patch) | |
| tree | 43b11ca79754ffa86f7a509baf25c803e0042e10 | |
| parent | 4f7d3974337445a1951cb0191c270d95daafd9e5 (diff) | |
| download | vcpkg-0896cfcc301843b455bf14497a15b0e775735198.tar.gz vcpkg-0896cfcc301843b455bf14497a15b0e775735198.zip | |
[vtk|cuda] add nvcc to the path (#12472)
| -rw-r--r-- | ports/vtk/CONTROL | 1 | ||||
| -rw-r--r-- | ports/vtk/portfile.cmake | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ports/vtk/CONTROL b/ports/vtk/CONTROL index cb6d51241..b542a5c47 100644 --- a/ports/vtk/CONTROL +++ b/ports/vtk/CONTROL @@ -1,5 +1,6 @@ Source: vtk Version: 9.0.1 +Port-Version: 1 Description: Software system for 3D computer graphics, image processing, and visualization Homepage: https://github.com/Kitware/VTK Build-Depends: zlib, libpng, tiff, libxml2, jsoncpp, glew, freetype, expat, hdf5[core], libjpeg-turbo, proj4, lz4, liblzma, libtheora, eigen3, double-conversion, pugixml, libharu[notiffsymbols], sqlite3, netcdf-c, utfcpp, libogg, pegtl-2 diff --git a/ports/vtk/portfile.cmake b/ports/vtk/portfile.cmake index 1fb7a70bd..42af4d39a 100644 --- a/ports/vtk/portfile.cmake +++ b/ports/vtk/portfile.cmake @@ -84,6 +84,10 @@ if("opengl" IN_LIST FEATURES) ) endif() +if("cuda" IN_LIST FEATURES AND CMAKE_HOST_WIN32) + vcpkg_add_to_path("$ENV{CUDA_PATH}/bin") +endif() + if("all" IN_LIST FEATURES) list(APPEND ADDITIONAL_OPTIONS -DVTK_USE_TK=OFF # TCL/TK currently not included in vcpkg |
