-
Notifications
You must be signed in to change notification settings - Fork 854
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
Add glslangConfig.cmake or glslang-config.cmake file to facilitate cmake package interaction #2570
Comments
Thank you @aliPMPAINT but thats still a workaround to a Findglslang.cmake / glslanConfig.cmake file - it would still be ideal to just add the compatibility with |
I am currently not funded to make this improvement but if someone is knowledgeable and wants to see this happen sooner than later, I will accept a PR. Let me know if you start work and I will assign. |
@greg-lunarg great to hear this is relevant. Not sure what you mean tho, what do you mean by funded? Is there a pay-to-fix structure, or is there a Forum where feature requests are upvoted? Not really familiar with what's the process for KhronosGroup repos for new features like this one, is there a README/Forum where I can find out more about this process? |
This repo is open source controlled by KhronosGroup. All the development is "donated" by individuals or companies interested in seeing this software be useful. As such, my consulting company is funded by a well-known ISV to maintain this repo. Right now my level of funding is just enough to triage new bugs, fix bugs I can't find anyone else to fix and review and merge bug fixes and new features presented by others. If you wish to submit a PR, you only need to submit a Contributing License Agreement (CLA). |
Thank you for the detail @greg-lunarg , this is quite informative! Ok great, I didn't know this structure, but makes complete sense, and I can see how fixing bugs is something that would take precedence over adding features. I also didn't know about the CLA, I would be interested to give this a go and add this contribution - what is the process I would go through in order to set up the CLA? |
I am not sure how to set up the CLA ahead-of-time, but when you attempt to create your first PR you will be guided through the CLA process. Good luck and thanks in advance for your contributions! |
Has the been progress on creation of glslangConfig.cmake? I am currently revisiting how the VulkanSceneGraph project pulls in the optional glslang dependency, the lack of glslangConfig.cmake previously led me to hack a vsg_glslangConfig.cmake in absence of any official support and for backwards compatibility. I'd much rather rely on an official glslangConfig.cmake though. The vsg_glslangConfig.cmake I created is: I'm not proposing this particular script for the glsLang project, @axsaucedo suggestion relying upon glslangTargets.cmake etc is better for when these are available. If there is a PR that adds glslangConfig.cmake I'd be happy to help out with testing. |
The same issue applies to |
Mingw64
|
The vulkan validation layers currently uses What support is missing exactly? |
I think this issue can be closed as far as I can see. Although it would be good to add additional testing to ensure it doesn't accidentally break. But that's another PR. @arcady-lunarg your thoughts? |
This was fixed by #2989, which should have been linked to this issue but was inadvertently not due to a typo. |
Thabk you for following up |
Currently when glslang is installed, any import using
find_package(glslang REQUIRED)
will fail given that there is no glslangConfig.cmake or glslang-config.cmake made available as part of the install.This can be fixed by adding an extra file under the names above, with contents along the lines of:
Edit: The VCPKG project seems to have a glslangConfig.cmake file that could be used as a base
The text was updated successfully, but these errors were encountered: