浏览代码

Fix jnipp for llvm on Windows (#3277)

* Fix jnipp for llvm on Windows

* Fix openjdk on MacOS with ARM64

* Revert "Fix openjdk on MacOS with ARM64"

This reverts commit 921306f68ce50dce28261bc53b7fe62b4ec5d3ee.
hackermdch 1 年之前
父节点
当前提交
5f36a6fecc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/j/jnipp/xmake.lua

+ 2 - 2
packages/j/jnipp/xmake.lua

@@ -18,7 +18,7 @@ package("jnipp")
         io.writefile("xmake.lua", [[
             add_rules("mode.debug", "mode.release")
             add_requires("openjdk")
-            set_languages("c++11")
+            set_languages("c++14")
             target("jnipp")
                 set_kind("$(kind)")
                 add_files("jnipp.cpp")
@@ -42,5 +42,5 @@ package("jnipp")
                 jni::Class Integer = jni::Class("java/lang/Integer");
                 jni::Object i = Integer.newInstance("1000");
             }
-        ]]}, {configs = {languages = "c++11"}}))
+        ]]}, {configs = {languages = "c++14"}}))
     end)