Fix C++ language flag propagation to nvcc
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 21 Oct 2020 08:50:33 +0000 (10:50 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 21 Oct 2020 14:41:53 +0000 (14:41 +0000)
commita6794765ac829192a5ce5f9ef4f6c8fcbcd5811b
tree0291fc7e1011b114d2a6c5c6065ab33b0b9ea15a
parent42eb2860ad73851e77ebaaa8ef47dba76dd166cc
Fix C++ language flag propagation to nvcc

Without this, the host code is compiled with the default language
level of the compiler, which varies by compiler and version. GROMACS
should specify the version being targeted.

This mostly reverts commit 33c239bee76444e82184c0c5685a543b8b141535.

Fixes #3749
cmake/gmxManageNvccConfig.cmake