Some changes to improve CMake/Conan packages. Related to points 3 and 4 of #4.
Currently, the CMake install installs the package as either a 32bit or 64bit package. This is a header-only library so this isn't necessary.
It installs the CMake targets to cmake/span-lite/span-lite-*.cmake. The previous location is not searched when running find_package from CMake.
Run CMake install instead of copying files. This allows Conan/CMake projects to use find_package(span-lite) just like pure CMake projects. Makes where the dependency is coming from transparent.
Let me know if you want any adjustments or require any changes.
Some changes to improve CMake/Conan packages. Related to points 3 and 4 of #4.
cmake/span-lite/span-lite-*.cmake
. The previous location is not searched when runningfind_package
from CMake.find_package(span-lite)
just like pure CMake projects. Makes where the dependency is coming from transparent.Let me know if you want any adjustments or require any changes.