fix cmake re-running failure introduced by ef1127f
authorSzilard Pall <pszilard@cbr.su.se>
Thu, 29 Nov 2012 14:57:33 +0000 (15:57 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 29 Nov 2012 22:26:40 +0000 (23:26 +0100)
commit7401379f7eb2c494476618abd411e7381fcc0aab
treea8d64e6c5dbbbbd7c0fb51a236cb121c8b9bfe19
parent92317fdb2fc8b63c0211e45c0702d0b2fc62f9d3
fix cmake re-running failure introduced by ef1127f

The find_package(CUDA) macro needs to be called even after we've done
the GPU detection/setup, otherwise functionality provided by this module
will not be available and CUDA compilation helper macros will not be
found.

Change-Id: I6320f20fc3189f5be57b7344ca8049ee418bc3fb
cmake/gmxManageGPU.cmake