Bug #1088
CUDA_TOOLKIT_ROOT_DIR warnings in clean build on non-CUDA-system
Description
When I start in a blank build directory and execute the curses interface "ccmake" I get the warning
CUDA_TOOLKIT_ROOT_DIR not found or specified
on the first invocation.
Associated revisions
History
#1 Updated by Roland Schulz about 8 years ago
- Status changed from New to In Progress
- Assignee set to Roland Schulz
#2 Updated by Erik Lindahl about 8 years ago
- Status changed from In Progress to Closed
Fix CUDA being quiet and mark all CUDA_* as advanced
The if statement was wrong (didn't agree with comment) and caused
FindCUDA not to be quite on the first run. Also one of the
FindCUDA varaibles CUDA_TOOLKIT_ROOT_DIR wasn't marked as advanced.
While that one is the most important variable, similar variables
(e.g. ${FFTW}_LIBRARIES) is also advanced. It is only marked as
advanced if NOT GMX_GPU.
Fixes #1088
Change-Id: Id6d2c16e64688f1dd4bb3193017deb8b36c5c06e