imageworks/Field3D — pull request #21 by hobbes1069 (2011-11-12 16:38:30+00:00)
Title: Updates and tweaks to CMakeLists.txt

I'm working on packaging Field3D for inclusion at Fedora so it will be available for OpenImageIO which I already maintain there.

Summary of updates:
- Since rpmbuild handles putting documentation in the right place I added a INSTALL_DOCS option defaulted to ON so I could disable it.
- Added a soname/soversion on the library. I'm not sure if this project is currently maintaining API/ABI compatibility so I set it to the same as the package version.
- Added $LIB_SUFFIX to the library install path for multi-lib linux distros (Redhat/Fedora/Suse/Gentoo, etc.)
- Changed INSTALL ( PROGRAM to INSTALL ( TARGET because PROGRAM is designed for shell scripts, not binaries. TARGET must be used for proper RPATH handling during install.