浏览代码

add local confinement

xq114 4 年之前
父节点
当前提交
1f792ba224
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/o/openexr/xmake.lua

+ 1 - 1
packages/o/openexr/xmake.lua

@@ -12,7 +12,7 @@ package("openexr")
     add_deps("zlib")
 
     on_install("macosx", "linux", "windows", "mingw", function (package)
-        configs = {"-DBUILD_TESTING=OFF", "-DBUILD_OPENEXR_EXAMPLES=OFF"}
+        local configs = {"-DBUILD_TESTING=OFF", "-DBUILD_OPENEXR_EXAMPLES=OFF"}
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         table.insert(configs, "-DPYILMBASE_ENABLE=" .. "OFF")