summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-21 13:03:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-03-21 13:03:24 (GMT)
commitfb767b89109a2175e2b24ce22bc9f8f793a09477 (patch)
treec53fcca80303eb518b86832aba051573b055c95f
parente57bbae0b0d529999994b6245850662326ab47db (diff)
parent9be0063d98971041aa13428834d3214199a5c904 (diff)
downloadCMake-fb767b89109a2175e2b24ce22bc9f8f793a09477.zip
CMake-fb767b89109a2175e2b24ce22bc9f8f793a09477.tar.gz
CMake-fb767b89109a2175e2b24ce22bc9f8f793a09477.tar.bz2
Merge topic 'FindCUDATooklit-mark-as-advanced'
9be0063d98 FindCUDAToolkit: mark a few variables as advanced Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8343
-rw-r--r--Modules/FindCUDAToolkit.cmake3
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