mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Use sourcecode for libjuice
This commit is contained in:
12
thirdparty/libjuice/xmake.lua
vendored
Normal file
12
thirdparty/libjuice/xmake.lua
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
package("libjuice")
|
||||
add_deps("cmake")
|
||||
set_sourcedir(path.join(os.scriptdir(), ""))
|
||||
on_install(function (package)
|
||||
local configs = {}
|
||||
table.insert(configs, "-DNO_EXPORT_HEADER=ON -DNO_TESTS=ON")
|
||||
import("package.tools.cmake").install(package, configs)
|
||||
end)
|
||||
-- on_test(function (package)
|
||||
-- assert(package:has_cfuncs("juice_create", {includes = "juice/juice.h"}))
|
||||
-- end)
|
||||
package_end()
|
||||
Reference in New Issue
Block a user