aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-04-12 19:50:53 +0200
committerVictor Romero <romerosanchezv@gmail.com>2019-04-12 10:50:53 -0700
commit821aff946cbffcf2a7138692a96e23ea8f250055 (patch)
treeedf712f560d29af3149463fba0fa1d7f41fe9a62 /toolsrc/src
parentb41ddf807200ab7ef10000f605e29d254f6955ed (diff)
downloadvcpkg-821aff946cbffcf2a7138692a96e23ea8f250055.tar.gz
vcpkg-821aff946cbffcf2a7138692a96e23ea8f250055.zip
enable_language(CUDA) should now work as expected (#6069)
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/vcpkg/base/system.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/base/system.cpp b/toolsrc/src/vcpkg/base/system.cpp
index ffbac3158..132c1f074 100644
--- a/toolsrc/src/vcpkg/base/system.cpp
+++ b/toolsrc/src/vcpkg/base/system.cpp
@@ -233,8 +233,13 @@ namespace vcpkg
// Enables proxy information to be passed to Curl, the underlying download library in cmake.exe
L"http_proxy",
L"https_proxy",
- // Enables find_package(CUDA) in CMake
+ // Enables find_package(CUDA) and enable_language(CUDA) in CMake
L"CUDA_PATH",
+ L"CUDA_PATH_V9_0",
+ L"CUDA_PATH_V9_1",
+ L"CUDA_PATH_V10_0",
+ L"CUDA_PATH_V10_1",
+ L"CUDA_TOOLKIT_ROOT_DIR",
// Environmental variable generated automatically by CUDA after installation
L"NVCUDASAMPLES_ROOT",
// Enables find_package(Vulkan) in CMake. Environmental variable generated by Vulkan SDK installer