Improve the robustness of the nvcc CMake check
commit6d2c5fb6af54ab39981368386d7347e59980a21b
authorSzilárd Páll <pall.szilard@gmail.com>
Mon, 23 Jul 2018 15:06:54 +0000 (23 17:06 +0200)
committerErik Lindahl <erik.lindahl@gmail.com>
Mon, 30 Jul 2018 11:13:27 +0000 (30 13:13 +0200)
tree91b0c2a2e17ac324c3ad99317cf267e3b24e0a86
parent5a8efa7bee096c473d4bcb2a7322fc658ae1a9a4
Improve the robustness of the nvcc CMake check

The check to assess whether nvcc is likely functioning as expected is
made more robust by including the build-type specific CUDA_NVCC_FLAGS_*
flags in the test compilation.

Change-Id: I175809809fa436cb887c8b2a1cb48914338e596b
cmake/gmxManageNvccConfig.cmake