Flattened history of the cmake-build branch
Do not try to get a dependency location if not emit options was specified
Set CMP0042 value for compatibility with older CMake
Whitespace fix
Use more conventional dyamic library naming scheme on Mac OS X