Enable only GLM_GTX_scalar_multiplication for C++11 compiler #242

This commit is contained in:
Christophe Riccio
2014-10-05 13:26:02 +02:00
parent 36af05b775
commit a00fc3fdf4
4 changed files with 23 additions and 2 deletions

View File

@@ -10,6 +10,8 @@
#include <glm/glm.hpp>
#include <glm/gtx/scalar_multiplication.hpp>
#if GLM_LANG & GLM_LANG_CXX0X_FLAG
int main()
{
int Error(0);
@@ -30,3 +32,12 @@ int main()
return Error;
}
#else
int main()
{
return 0;
}
#endif