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

CTL: Use GNUInstallDirs, fix PkgConfig files, OpenEXR all versions support. #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dracwyrm
Copy link

@dracwyrm dracwyrm commented Sep 25, 2017

  • GNUInstallDirs are variables set by each distro and OS, so we don't need to define them manually. They can also be set manually during the configure phase. The code to define custom directories can be removed and replaced with the equivalent GNUInstallDirs variable.
  • Pkg-Config is used to find IlmBase and OpenEXR, but isn't fully utilized everywhere. This makes Pkg-Config a hard dependency so that the libraries and directories can be found easily. This will use the correct libraries no matter how they are named, so this is compatible with both pre-2.0 and post 2.0 naming schemes.
  • The Pkg-Config files had several errors that are now fixed.

This replaces PR #55 as this allows all versions of OpenEXR to be detected via PkgConfig.

@dracwyrm
Copy link
Author

This patch now fixes bug: #68

* GNUInstallDirs are variables set by each distro and OS, so we
  don't need to define them manually. They can also be set manually
  during the configure phase. The code to define custom directories can
  be removed and replaced with the equivalent GNUInstallDirs variable.
* Pkg-Config is used to find IlmBase and OpenEXR, but isn't fully
  utilized everywhere. This makes Pkg-Config a hard dependency so that
  the libraries and directories can be found easily. This will use the
  correct libraries no matter how they are named, so this is compatible
  with both pre-2.0 and post 2.0 naming schemes.
* The Pkg-Config files had several errors that are now fixed.
@dracwyrm dracwyrm changed the title CTL: Use GNUInstallDirs and fix PkgConfig files CTL: Use GNUInstallDirs, fix PkgConfig files, OpenEXR all versions support. Jan 22, 2018
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.

1 participant