Skip to content

Conversation

Neumann-A
Copy link
Contributor

(CMake uses it to search for the toolkit)

  if(WIN32)
    # nvtools can be installed outside the CUDA toolkit directory
    # so prefer the NVTOOLSEXT_PATH windows only environment variable
    # In addition on windows the most common name is nvToolsExt64_1
    find_library(CUDA_nvToolsExt_LIBRARY
      NAMES nvToolsExt64_1 nvToolsExt64 nvToolsExt
      PATHS ENV NVTOOLSEXT_PATH
            ENV CUDA_PATH
      PATH_SUFFIXES lib/x64 lib
    )
  endif()

(CMake uses it to search for the toolkit)
@ras0219-msft ras0219-msft merged commit 9220d6f into microsoft:master Jul 21, 2020
@ras0219-msft
Copy link
Collaborator

LGTM, thanks!

@NancyLi1013 NancyLi1013 changed the title Add NVTOOLSEXT_PATH to the env passthrough list [vcpkg] Add NVTOOLSEXT_PATH to the env passthrough list Jul 24, 2020
@Neumann-A Neumann-A deleted the NVTOOLSEXT_PATH branch July 31, 2020 21:05
hellozee pushed a commit to hellozee/vcpkg that referenced this pull request Sep 11, 2020
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants