Have you tried to execute:
$ cmake -G "CodeBlocks - Ninja" <path to project root>
or
$ cmake -G "CodeBlock - Unix Makefiles" <path to project root>
Unfortunately C::B is not really setup correctly to run project after they are installed (make install). So we need to work on this.