Browse Source

Fixes glm (#1173)

glm will report a bug if setting the language as c++11. Fix it by switching to c++14.
Zheng Zeng 3 years ago
parent
commit
4d4fa2632e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/g/glm/xmake.lua

+ 1 - 1
packages/g/glm/xmake.lua

@@ -18,5 +18,5 @@ package("glm")
             void test() {
             void test() {
                 glm::mat4 proj = glm::perspective(glm::radians(45.f), 1.33f, 0.1f, 10.f);
                 glm::mat4 proj = glm::perspective(glm::radians(45.f), 1.33f, 0.1f, 10.f);
             }
             }
-        ]]}, {configs = {languages = "c++11"}, includes = {"glm/mat4x4.hpp", "glm/ext/matrix_clip_space.hpp"}}))
+        ]]}, {configs = {languages = "c++14"}, includes = {"glm/mat4x4.hpp", "glm/ext/matrix_clip_space.hpp"}}))
     end)
     end)