This may be counterproductive to share, but...
I've been working with production CMake installations for years - since beginning the Alembic project - and I have yet to get one to work completely correctly. I have resorted, almost exclusively, to simply hardcoding the locations of each of the libraries directly, and skipping the "FindPackage" step altogether. After spending about 3 days trying to get the HDF5 Cmake file to actually correctly find the installation, I gave up.
I'm really curious to hear if anyone has gotten CMake to work for real in a complex production environment with multiple versions of things like boost, python, and so on. I note that every large organization I've seen (such as Google, Facebook) just ports the builds to their proprietary build tools, rather than using autoconf or cmake.
Am I alone in my failure to get CMake to work the way it is intended?
Chris