package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
512 B
13 lines
512 B
3 years ago
|
package("glx")
|
||
|
|
||
|
set_homepage("https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glXIntro.xml")
|
||
|
set_description("an extension to the X Window System core protocol providing an interface between OpenGL and the X Window System")
|
||
|
|
||
|
on_fetch(function (package, opt)
|
||
|
if opt.system then
|
||
|
if package:is_plat("linux") and package.find_package then
|
||
|
return package:find_package("glx", opt) or package:find_package("libglx", opt)
|
||
|
end
|
||
|
end
|
||
|
end)
|