Remove CUDA host compiler consistency checks
commit770f143a3960cdd169e4dfb975378e1c77e909d5
authorSzilárd Páll <pall.szilard@gmail.com>
Sun, 3 Apr 2016 22:30:06 +0000 (4 00:30 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 5 May 2016 02:46:50 +0000 (5 04:46 +0200)
tree5f521463c4f5f9d5d062f542df7760f5af3e96fc
parentdd8f72ac22aac5ecb2de09c784a5c3412c9d2263
Remove CUDA host compiler consistency checks

Since CMake 2.8.10 the host compiler is set by CMake which effectively
broke our consistency checks. However, these checks are hard to
maintain, and even though CMake does not do any checks we are better off
without this code.

This commit removed the checks, unconditionally sets the
CUDA_HOST_COMPILER variable for CMake 2.8.9 and earlier - code that
should be removed when CMAke 2.8.10 is required.

Fixes #1248

Change-Id: I6c08b59642dd3b5d18c5fe5ac454f19c75718f6a
cmake/gmxManageNvccConfig.cmake