Installation command:
$ cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_INSTALL_PREFIX=/usr
$ cmake --build build
$ cmake --install build
That command only installs /usr/lib/libclickhouse-cpp-lib.a library.
But, by default, clickhouse building cityhash from sources, but it does not install it, it remains in build/contrib/build/contrib/cityhash/cityhash/libcityhash.a
Cityhash is not provided with basic Ubuntu package managers, though statically linked clickhouse can not be linked to the target project