Create a CMake package, so the library can be found via find_package.
find_package
Also create an example CMake project, that uses the library.