Add --with-cg-libdir option to support arch dependant Cg library paths #353
Labels
Build
A problem with building or installing the library.
Feature Request
A suggested change or addition of functionality to the library.
On Gentoo, we had an issue when compiling OpenEXR_Viewers with support for Cg. The Cg libraries are installed in arch dependant directories, i.e. in /opt/nvidia-cg-toolkit/lib for 32-bit and /opt/nvidia-cg-toolkit/lib64 for 64-bit platforms.
I developed this patch to add an optional --with-cg-libdir option to configure, alongside the already available --with-cg-prefix option to support different installation locations for those libraries.
You can also get the patch at https://github.com/waebbl/waebbl-gentoo/blob/master/media-gfx/openexr_viewers/files/openexr_viewers-2.3.0--with-cg-libdir.patch
Feel free to grab this patch if it's useful for general purpose.
The text was updated successfully, but these errors were encountered: