Skip to content

Commit

Permalink
[vtk|cuda] add nvcc to the path (microsoft#12472)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neumann-A authored and hellozee committed Sep 11, 2020
1 parent b85a5d6 commit e7fec68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ports/vtk/CONTROL
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions ports/vtk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7fec68

Please sign in to comment.