improve eigen and libjpeg (#1058)

* support mingw for eigen

* update libjpeg
pull/1059/head
Hoildkv 3 years ago committed by GitHub
parent dd26fa7429
commit 1c8785dc08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/e/eigen/xmake.lua
  2. 6
      packages/l/libjpeg/xmake.lua

@ -24,7 +24,7 @@ package("eigen")
add_includedirs("include")
add_includedirs("include/eigen3")
on_install("macosx", "linux", "windows", function (package)
on_install("macosx", "linux", "windows", "mingw", function (package)
import("package.tools.cmake").install(package, {"-DBUILD_TESTING=OFF"})
end)

@ -4,12 +4,12 @@ package("libjpeg")
set_description("A widely used C library for reading and writing JPEG image files.")
set_urls("https://www.ijg.org/files/jpegsrc.$(version).tar.gz")
add_versions("v9c", "682aee469c3ca857c4c38c37a6edadbfca4b04d42e56613b11590ec6aa4a278d")
add_versions("v9b", "566241ad815df935390b341a5d3d15a73a4000e5aab40c58505324c2855cbbb8")
add_versions("v9c", "682aee469c3ca857c4c38c37a6edadbfca4b04d42e56613b11590ec6aa4a278d")
add_versions("v9d", "2303a6acfb6cc533e0e86e8a9d29f7e6079e118b9de3f96e07a71a11c082fa6a")
add_versions("v9e", "4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d")
add_configs("headeronly", { description = "Install headerfiles only.", default = false, type = "boolean"})
add_configs("headeronly", {description = "Install headerfiles only.", default = false, type = "boolean"})
on_install(function (package)
io.writefile("xmake.lua", [[

Loading…
Cancel
Save