Fix build if libcuda is found but nvcc is not
commit92ab334fea1c6541d32fd684e73ab0d9c942f876
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 4 Jul 2016 23:28:01 +0000 (4 23:28 +0000)
committerErik Lindahl <erik.lindahl@gmail.com>
Thu, 7 Jul 2016 15:53:55 +0000 (7 17:53 +0200)
tree00586417d35490fd803bee5092ab1714ac085b10
parent3dfdadb8b7d632e4602d9348a4ff1c7f56115472
Fix build if libcuda is found but nvcc is not

We require nvcc to be found by find_package, so this commit makes that
explicit. Otherwise the code doesn't understand CUDA_MAJOR_VERSION,
nor why we are setting cache variables that have no value to advanced.

Change-Id: Id7ebde308d268bf225f4b1220bc2b20c0e3e6da1
cmake/gmxManageGPU.cmake