properly set cuda compiler version

This commit is contained in:
BlahGeek
2017-02-28 10:30:50 +08:00
parent f269730d4b
commit 0b48eecae8

View File

@@ -146,8 +146,12 @@
# endif # endif
# if CUDA_VERSION < 7000 # if CUDA_VERSION < 7000
# error "GLM requires CUDA 7.0 or higher" # error "GLM requires CUDA 7.0 or higher"
# else # elif (CUDA_VERSION >= 7000 && CUDA_VERSION < 7500)
# define GLM_COMPILER GLM_COMPILER_CUDA # define GLM_COMPILER GLM_COMPILER_CUDA70
# elif (CUDA_VERSION >= 7500 && CUDA_VERSION < 8000)
# define GLM_COMPILER GLM_COMPILER_CUDA75
# elif (CUDA_VERSION >= 8000)
# define GLM_COMPILER GLM_COMPILER_CUDA80
# endif # endif
// Clang // Clang