Browse Source

add local confinement

xq114 4 years ago
parent
commit
1f792ba224
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/o/openexr/xmake.lua

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

@@ -12,7 +12,7 @@ package("openexr")
     add_deps("zlib")
     add_deps("zlib")
 
 
     on_install("macosx", "linux", "windows", "mingw", function (package)
     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, "-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, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         table.insert(configs, "-DPYILMBASE_ENABLE=" .. "OFF")
         table.insert(configs, "-DPYILMBASE_ENABLE=" .. "OFF")