The cmake-packages(7) manual’s example ClimbingStatsConfig.cmake does not suffer from any of the pitfalls that configure_package_config_file is meant to address. However, the example could perhaps be updated to use configure_package_config_file for completeness.
Thank you very much!
I’ve read that guide you provided above which is really helpful!
So I have another little suggestion, in this page CMake Reference Documentation — CMake 3.30.1 Documentation , may we put “GUIDE” section more front, just after “Introduction”? I think “guide” is more fundamental and important to cmake novice!
I also want to learn your opinion, thanks!