CTL icon indicating copy to clipboard operation
CTL copied to clipboard

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

Open dracwyrm opened this issue 8 years ago • 1 comments

  • 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 https://github.com/ampas/CTL/pull/55 as this allows all versions of OpenEXR to be detected via PkgConfig.

dracwyrm avatar Sep 25 '17 20:09 dracwyrm

This patch now fixes bug: https://github.com/ampas/CTL/issues/68

dracwyrm avatar Oct 18 '17 17:10 dracwyrm