cmake-packages documentation suggests to install CMake config files in a directory that is not found automatically in Windows
cmake-packages documentation suggests to install CMake config files to
lib/cmake/<package_name> , however that path is not searched for by
find_package on Windows when the package is installed in the default
CMAKE_INSTALL_PREFIX  .
A more multi-platform alternative to suggest would be:
if(WIN32 AND NOT CYGWIN) set(ConfigPackageLocation CMake) else() set(ConfigPackageLocation lib/cmake/ClimbingStats) endif()
This is a common pitfall for libraries developed on *nix system to work correctly out of the box in Windows , so fixing it in the main CMake documentation would be highly beneficial.