Fixed CUDA language detection

This commit is contained in:
Hauke Rehfeld 2014-07-21 14:53:46 +02:00
parent d84fa89cb8
commit ed3e0b64b9

View File

@ -455,6 +455,10 @@
# define GLM_LANG (GLM_LANG_CXX98) # define GLM_LANG (GLM_LANG_CXX98)
# endif # endif
# endif # endif
# elif(GLM_COMPILER & GLM_COMPILER_CUDA)
# if(defined(_MSC_EXTENSIONS))
# define GLM_LANG (GLM_LANG_CXX0X | GLM_LANG_CXXMS_FLAG)
# endif
# elif(__cplusplus >= 199711L) # elif(__cplusplus >= 199711L)
# define GLM_LANG GLM_LANG_CXX98 # define GLM_LANG GLM_LANG_CXX98
# else # else