Trying to compile CasparCG Server for Linux - Several dependencies issues

I cannot say anything about Fedora, but the CMakeFileLists.txt works fine for Gentoo. You can use cmake to build the final binaries. (Installation, i.e. moving the binaries into their correct place on the host system, is another another story, see https://casparcgforum.org/t/questions-about-the-build-system/).

On Gentoo there have been some issues with missing included C++ headers and a linking order, but those have been fixed with recent patches. However, this had nothing to do with the build system as such. Gentoo uses rather recent version of the toolchain (GCC, ldd, etc.) and they have become more fussy about what needs to include/link what in which order.