Specify the version of thirdparty libraries

This commit is contained in:
dijunkun
2024-05-28 15:53:14 +08:00
parent 5d6861233e
commit 3ea4d0724d
3 changed files with 9 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ package("aom")
end
on_install("windows", "linux", "macosx", function (package)
local configs = {"-DENABLE_EXAMPLES=OFF", "-DENABLE_TESTS=OFF", "-DENABLE_TOOLS=OFF", "-DENABLE_DOCS=OFF"}
local configs = {"-DENABLE_EXAMPLES=OFF", "-DENABLE_TESTS=OFF", "-DENABLE_TOOLS=OFF", "-DENABLE_DOCS=OFF", "-DBUILD_SHARED_LIBS=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
import("package.tools.cmake").install(package, configs)
end)