-
Notifications
You must be signed in to change notification settings - Fork 460
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
Have OCIO build export a proper OpenColorIOConfig.cmake #1187
Comments
Hey, i would like to help you with this issue can you guide me ?? |
Hi @Yash-R, The task requires some knowledge of
If you still have interest in the task then start the work and the community will help you. |
yes I'm very much interested to work, Can you please explain me the work briefly please ? @hodoulp |
The CMake utility helps other projects to discover an installed OpenColorIO library (i.e which means where are the header files, where are the binary file(s), and what is the version). In the previous post I pasted some examples. So, OpenColorIO must have a Before starting anything I suggest you to start reading the documentation, and to check on how to contribute to the project. |
The proper solution would be to install a config-file package ( For the record, OpenColorIO 1.1 was actually already installing a config-file package, but this feature was removed by this commit apparently: 2f5fbfc |
I noticed today that OCIO doesn't provide a modern OpenColorIOConfig.cmake file with all the targets a downstream project should need, went to add an issue, only to discover that I had already filed this same issue right here, exactly six months ago to the day. (I guess we can place a tight upper bound on the length my memory for such things.) So I reiterate the original request, it's what most modern cmake-based projects provide for their downstream clients, and expect from their upstream cmake-aware dependencies. I can point you to code in the cmake build systems of OIIO or OSL as examples. It's only a handful of lines to do it properly. |
Closing the issue as the pull request is now merged! |
The modern CMake way is that packages should produce and distribute a PackageConfig.cmake, eliminating the need for all the other CMake-based packages that depend on OCIO from each, separately, having to maintain some kind of FindOpenColorIO.cmake module that contains all the searching logic.
The text was updated successfully, but these errors were encountered: