Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The old code defaulted the cmake config install paths to share/cppitertools/cmake/cppitertools whereas CMake expects the config install directory to be one of (simplifying): share/cmake/cppitertools share/cppitertools share/cppitertools/cmake Unfortunately, the existing code chose to put `cppitertools` at the end of the install path unconditionally, and so we're left with either `share/cppitertools`, or `share/cmake/cppitertools` as options. Since other projects seemed to choose `share/${PROJECT_NAME}`, I figured that was a fine option, as long as the default is not broken. Therefore, this changes the default to share/cppitertools Additionally, the old code didn't unconditionally put `cppitertools` at the end of the config.version file, and so that was never being picked up. Since it was unlikely that anyone was depending on the config.version file being installed in the wrong location, we now install it at the same place as the config file.
- Loading branch information