The cmake package does not seem to be part of the default Fedora distribution. Here’s what I had to do to get it running.
> sudo dnf install cmake
This installs the cmake package (along with the jsoncpp package
, which is a useful JSON encoder/decoder you should have anyway).