Demonstrates consuming libstats from an external project after installation.
Build and install libstats:
cd /path/to/libstats
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
cmake --install build --prefix /tmp/libstats-installcd consumer_example
cmake -S . -B build -DCMAKE_PREFIX_PATH=/tmp/libstats-install
cmake --build build
./build/consumer_demofind_package(libstats REQUIRED)locates the installed packagelibstats::libstats_statictarget provides headers and static library#include "libstats/libstats.h"resolves correctly from the install tree- Gaussian PDF/CDF computation produces correct values