Skip to content

Commit 09ccb8d

Browse files
Update xmake.lua
1 parent efe3611 commit 09ccb8d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/m/matplotplusplus/xmake.lua

+10
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ package("matplotplusplus")
3232
add_syslinks("user32", "shell32", "gdi32")
3333
end
3434

35+
if on_check then
36+
on_check("linux", function (package)
37+
if package:version() and package:version():eq("1.2.2") then
38+
if package:is_debug() then
39+
raise("package(matplotplusplus 1.2.2) unsupported debug build type")
40+
end
41+
end
42+
end)
43+
end
44+
3545
on_load(function (package)
3646
for config, dep in pairs(configdeps) do
3747
if package:config(config) then

0 commit comments

Comments
 (0)