#1576·gperftools

CMake scripts has no install() directives

Author: pkarneliukCreated Dec 13, 2024Updated Dec 16, 2024

Since 2.16 there is no install() directives in root CMakeLists.txt. So, now it is impossible to install correct binaries by cmake tool.

cmake -S . -B "build" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/data/tools/gperftools/2.16
cmake --build   "build" --config Release
cmake --install "build" --config Release --prefix /data/tools/gperftools/2.16

Why they were removed in https://github.com/gperftools/gperftools/commit/9dfab2cdce5ec1ebb36e2a20e5031ef49cbe8087 ?