From 821aff946cbffcf2a7138692a96e23ea8f250055 Mon Sep 17 00:00:00 2001 From: Stefano Sinigardi Date: Fri, 12 Apr 2019 19:50:53 +0200 Subject: enable_language(CUDA) should now work as expected (#6069) --- toolsrc/src/vcpkg/base/system.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3