You can find here three different ways to integrate the pntr header-only library into a CMake project.
You can simply add the subdirectory of the pntr repository.
You can use find_package if it can find the pntr installation or build directory in the CMAKE_PREFIX_PATH or in the default locations.
The recent FetchContent feature of CMake will pull pntr from github if find_package fails.