소스 검색

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")