Merge branch release-4-6 into master
[alexxy/gromacs.git] / CMakeLists.txt
index 396aa452fd5d56a00542240ceac4a765385778e1..ebbbdc4d5de52d2e7f374399b498d1ba915b3198 100644 (file)
@@ -1166,6 +1166,10 @@ get_compiler_info(C BUILD_C_COMPILER BUILD_CFLAGS)
 if (CMAKE_CXX_COMPILER_LOADED)
     get_compiler_info(CXX BUILD_CXX_COMPILER BUILD_CXXFLAGS)
 endif ()
+if(GMX_GPU)
+    get_cuda_compiler_info(CUDA_NVCC_COMPILER_INFO CUDA_NVCC_COMPILER_FLAGS)
+endif(GMX_GPU)
+
 
 ########################################################################
 # Specify install locations