I recently started looking at using Google Benchmark for performance analysis.
In general, I tend to avoid system wide installs (e.g. /usr/lib) for things;
I kept a practice of keeping stuff in my home directory (e.g. ~/.install), a practice
I inherited from an ex-colleague years ago.

When I tried linking the static benchmark library against a project, I get a slew of
errors telling me to recompile with -fPIE.

What is this? (I intend to find out the details later...)

But I figured enough from searching to fix it as follows,

    $ cd benchmark; mkdir build; cd build


    $ cmake --build . --target install