Add a cmake file for use in other programs.