Fixed build system error

master
Christophe Riccio ago%!(EXTRA string=9 years)
parent 2608e71aac
commit a3427f7027
  1. 4
      appveyor.yml
  2. 6
      test/gtc/gtc_noise.cpp

@ -2,6 +2,6 @@ before_build:
- cmake -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON .
build_script:
- cmake --build .
- ctest
- cmake --build .
- ctest

@ -1,5 +1,7 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/noise.hpp>
#if GLM_LANG & GLM_LANG_CXX11_FLAG
#include <gli/gli.hpp>
int test_simplex()
@ -149,13 +151,17 @@ int test_perlin_pedioric()
return 0;
}
#endif//GLM_LANG & GLM_LANG_CXX11_FLAG
int main()
{
int Error = 0;
# if GLM_LANG & GLM_LANG_CXX11_FLAG
Error += test_simplex();
Error += test_perlin();
Error += test_perlin_pedioric();
# endif
return Error;
}

Loading…
Cancel
Save