Relative Content

Tag Archive for cmakefetchcontent

CMake FetchContent with header-only project

I am trying to use FetchContent to include a dependency that is a header-only C++ project. It does not need to be built. However, it contains a CMakeLists.txt file that builds its tests, and it is not doing it in a standard way. I would like to bypass the make step entirely, so as not to build the extraneous binary and not to see the warnings that it emits.