CUDA+MSVC doesn't need --std c++11 explicitly specified.

This commit is contained in:
Robert Maynard 2016-09-01 14:30:52 -04:00
parent 1379502179
commit f7ecc5fd02

@ -225,8 +225,9 @@ macro(vtkm_configure_component_CUDA)
#---------------------------------------------------------------------------
# Setup build flags for CUDA to have C++11 support
#---------------------------------------------------------------------------
if(NOT MSVC)
list(APPEND CUDA_NVCC_FLAGS --std c++11)
endif()
#---------------------------------------------------------------------------
# Populates CUDA_NVCC_FLAGS with the best set of flags to compile for a