ericniebler / range-v3

Range library for C++14/17/20, basis for C++20's std::ranges
Other
4.06k stars 437 forks source link

Only find doxygen if building the docs #1690

Closed tmadlener closed 2 years ago

tmadlener commented 2 years ago

Ran into the issue of trying to build without documentation but cmake still failed. The problem in my case is that doxygen is present, but dot is to be missing from the build environment. This makes find_package(Doxygen) fail because cmake treats it as a required component by default: https://cmake.org/cmake/help/v3.23/module/FindDoxygen.html