diff options
author | Andrey Alekseenko <al42and@gmail.com> | 2023-03-17 23:55:24 (GMT) |
---|---|---|
committer | Andrey Alekseenko <al42and@gmail.com> | 2023-03-17 23:55:24 (GMT) |
commit | 9be0063d98971041aa13428834d3214199a5c904 (patch) | |
tree | 7ce7c1c0903fbf0871123ec787a45589f57e9d86 /Modules/FindCUDAToolkit.cmake | |
parent | 6741acdeb48b94a1a8d33ab239b47d92c462e56c (diff) | |
download | CMake-9be0063d98971041aa13428834d3214199a5c904.zip CMake-9be0063d98971041aa13428834d3214199a5c904.tar.gz CMake-9be0063d98971041aa13428834d3214199a5c904.tar.bz2 |
FindCUDAToolkit: mark a few variables as advanced
- CUDAToolkit_BIN_DIR (was already "advanced" sometimes)
- CUDAToolkit_CUPTI_INCLUDE_DIR
Diffstat (limited to 'Modules/FindCUDAToolkit.cmake')
-rw-r--r-- | Modules/FindCUDAToolkit.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake index 713f3b8..67bf424 100644 --- a/Modules/FindCUDAToolkit.cmake +++ b/Modules/FindCUDAToolkit.cmake @@ -623,8 +623,8 @@ else() endif() unset(_CUDA_NVCC_OUT) - mark_as_advanced(CUDAToolkit_BIN_DIR) set(CUDAToolkit_BIN_DIR "${CUDAToolkit_BIN_DIR}" CACHE PATH "" FORCE) + mark_as_advanced(CUDAToolkit_BIN_DIR) endif() if(CUDAToolkit_SENTINEL_FILE) @@ -1108,6 +1108,7 @@ if(CUDAToolkit_FOUND) "${CUDAToolkit_INCLUDE_DIR}/../extras/CUPTI/include" "${CUDAToolkit_INCLUDE_DIR}" NO_DEFAULT_PATH) + mark_as_advanced(CUDAToolkit_CUPTI_INCLUDE_DIR) if(CUDAToolkit_CUPTI_INCLUDE_DIR) _CUDAToolkit_find_and_add_import_lib(cupti |