simple cmake call requires doxygen
Hello,
I just found out that Doxygen is required when cmake is not called with the explicit -Denable_documentation=OFF
.
I think it would be better for users to automatically disable documentation if some documentation tools are missing.
Steps to reproduce
Get into an environment without Doxygen and just run cmake
(tested with SimGrid 74cbbb63).
- e.g.,
nix-shell --pure -p cmake -p python3 -p boost
Log
cmake ..
[...]
CMake Error at /nix/store/5zqbm1zni17vcygfcx75990bl9iikdcc-cmake-3.11.2/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
[...]