mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[vtk|cuda] add nvcc to the path (#12472)
This commit is contained in:
parent
4f7d397433
commit
0896cfcc30
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user