mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Specify the version of thirdparty libraries
This commit is contained in:
2
thirdparty/aom/xmake.lua
vendored
2
thirdparty/aom/xmake.lua
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user