Make sure CUDA is built with c++11 support enabled.

This commit is contained in:
Robert Maynard 2016-08-29 14:26:26 -04:00
parent c4dd3cffd5
commit 696ca48bd1

@ -223,7 +223,11 @@ macro(vtkm_configure_component_CUDA)
if(VTKm_CUDA_FOUND)
#---------------------------------------------------------------------------
# Setup build flags for CUDA
# Setup build flags for CUDA to have C++11 support
#---------------------------------------------------------------------------
list(APPEND CUDA_NVCC_FLAGS --std c++11)
#---------------------------------------------------------------------------
# Populates CUDA_NVCC_FLAGS with the best set of flags to compile for a
# given GPU architecture. The majority of developers should leave the