Fix CUDA being quiet and mark all CUDA_* as advanced
authorRoland Schulz <roland@utk.edu>
Mon, 31 Dec 2012 05:08:40 +0000 (00:08 -0500)
committerRoland Schulz <roland@utk.edu>
Mon, 7 Jan 2013 21:39:54 +0000 (16:39 -0500)
commit901273ce5cd9721635659aa6c779bd0830af2eff
tree689f9d578961b2e37a6fc8c9b3307017b82a25f2
parent58a233156229163047d6459d104a2fcfebf8c4ed
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
cmake/gmxManageGPU.cmake