Skip to content
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

Fixes to cmake config generation #2448

Merged
merged 1 commit into from Jan 2, 2020

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Dec 30, 2019

  • Relax version compatibility specification to just matching major version.
  • Specify targets cmake name correctly.
  • Make sure install include dir is listed in the public include dirs of the
    libraries.
  • Some other cleanup and genericization.

I believe this corrects some deficiencies in the generated OpenImageIOConfig.cmake that projects can use that exclusively (with imported targets) and have no need for a copy of FindOpenImageIO.cmake.

Unless objections are raised, I will also backport this to 2.1 for the patch release that's coming in a few days.

* Relax version compatibility specification to just matching major version.
* Specify targets cmake name correctly.
* Make sure install include dir is listed in the public include dirs of the
  libraries.
* Some other cleanup and genericization.

I believe this corrects some deficiencies in the generated
OpenImageIOConfig.cmake that projects can use that exclusively (with
imported targets) and have no need for a copy of
FindOpenImageIO.cmake.

Unless objections are raised, I will also backport this to 2.1 for the
patch release that's coming in a few days.
@lgritz lgritz merged commit 2aae67f into AcademySoftwareFoundation:master Jan 2, 2020
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jan 2, 2020
* Relax version compatibility specification to just matching major version.
* Specify targets cmake name correctly.
* Make sure install include dir is listed in the public include dirs of the
  libraries.
* Some other cleanup and genericization.

I believe this corrects some deficiencies in the generated
OpenImageIOConfig.cmake that projects can use that exclusively (with
imported targets) and have no need for a copy of
FindOpenImageIO.cmake.
@lgritz lgritz deleted the lg-cmakecleanup branch January 2, 2020 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant