-
Notifications
You must be signed in to change notification settings - Fork 468
include/KHR/khrplatform.h conflicts with mesa-libs #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which install conflicts? Generated glad files shouldn't be installed globally on your system, it also doesn't provide an out of the box way to do that. The provided |
cmake creates the 'install' target, and it installs the following files:
The following cmake options are set to |
You should not use this to install globally, if at all install to a project directory. What are you trying to do, why do you want to install glad generated files? PS: The shared library is another thing that should not be installed/used globally, heck even when integrated in your build system you should just statically link and call it a day. |
I created the FreeBSD port on Two other distros have packages for |
It would seem to me that the generator would be an appropriate thing to pack into a distro.
…On March 29, 2020 5:18:12 PM MDT, ***@***.***" ***@***.***> wrote:
I created the FreeBSD port on ```2019-06-09```. I don't remember the
reason now, perhaps it was for a dependency of some other port/package.
Two other distros have packages for ```glad``` too:
https://repology.org/project/glad/versions
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#260 (comment)
|
As @fluffrabbit said the Python program would be a good thing to package (that's how the conan and vcpkg do it as well). If other projects have glad generated files as an open dependency, you could still install glad files globally you'd just have to either install the files manually not through cmake or deleting the khrplatform before installing. But if you're installing glad you'd need to specify what specification and API it is (GL, GLES, GLX) and what version with the compatibility profile and all extensions. But even then providing a shared library of glad just doesn't make sense, a static library I could see out of convenience but even that is questionable. |
Feel free to reopen/comment if there is anything else you need to know or is unclear or you think should be changed. |
The file
include/KHR/khrplatform.h
that your install conflicts with the packagemesa-libs
.You should only install files under
include/glad
.The text was updated successfully, but these errors were encountered: