From 39373379bf6413083b8372b62f0e7b09675964f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Szil=C3=A1rd=20P=C3=A1ll?= Date: Mon, 4 Apr 2016 21:17:03 +0200 Subject: [PATCH] Mark more variables as advanced CMake 3.x introduced a few more non-advanced CUDA cache variables that most users do not care about, so this commit hides them. Refs #1764 Change-Id: I926b03ece080d8f8255e37dc5471275d48956d49 --- cmake/gmxManageGPU.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/gmxManageGPU.cmake b/cmake/gmxManageGPU.cmake index 1caef5d0b8..fe1aa0ce9b 100644 --- a/cmake/gmxManageGPU.cmake +++ b/cmake/gmxManageGPU.cmake @@ -183,7 +183,11 @@ endif() # We need to mark these advanced outside the conditional, otherwise, if the # user turns GMX_GPU=OFF after a failed cmake pass, these variables will be # left behind in the cache. -mark_as_advanced(CUDA_BUILD_CUBIN CUDA_BUILD_EMULATION CUDA_SDK_ROOT_DIR CUDA_VERBOSE_BUILD) +mark_as_advanced(CUDA_BUILD_CUBIN CUDA_BUILD_EMULATION CUDA_SDK_ROOT_DIR CUDA_VERBOSE_BUILD # cmake 2.8.9 still spews these, check again when requirements change + CUDA_SEPARABLE_COMPILATION # not present at least with cmake 3.2, remove when required + CUDA_USE_STATIC_CUDA_RUNTIME # since cmake 3.3 + CUDA_dl_LIBRARY CUDA_rt_LIBRARY # - || - + ) if(NOT GMX_GPU) mark_as_advanced(CUDA_TOOLKIT_ROOT_DIR) endif() -- 2.11.4.GIT