CMake provides so-called "find modules" in order to make it easier for downstream users of software packages to find header files, libraries to link against, etc. CMake ships find modules for many standard software packages, e.g., Boost, OpenSSL, curl and many more. We have been writing our own find module for Botan 2.x and would now have to write our own find module for Botan 3.x when switching. Others are doing the same, e.g., KeePassXC, rnp and more. We even link to rnp's FindBotan2.cmake from our wiki.
Can we just upstream one of these to the CMake project to be included with the CMake distribution? That would make it really easy for Botan users on CMake to integrate Botan into their builds and we get rid of all these CMake script duplicates.
CMake provides so-called "find modules" in order to make it easier for downstream users of software packages to find header files, libraries to link against, etc. CMake ships find modules for many standard software packages, e.g., Boost, OpenSSL, curl and many more. We have been writing our own find module for Botan 2.x and would now have to write our own find module for Botan 3.x when switching. Others are doing the same, e.g., KeePassXC, rnp and more. We even link to rnp's FindBotan2.cmake from our wiki.
Can we just upstream one of these to the CMake project to be included with the CMake distribution? That would make it really easy for Botan users on CMake to integrate Botan into their builds and we get rid of all these CMake script duplicates.