forked from OSchip/llvm-project
If building with LLVM_ENABLE_DOXYGEN and using CMake then
abort while configuring if doxygen could not be found. This is desirable because if the build is going to fail then it should fail as early as possible. llvm-svn: 207404
This commit is contained in:
parent
e01fd5f63a
commit
f8542956d3
|
@ -486,7 +486,7 @@ set(LLVM_PREFIX ${CMAKE_INSTALL_PREFIX})
|
|||
|
||||
if (LLVM_ENABLE_DOXYGEN)
|
||||
message(STATUS "Doxygen enabled.")
|
||||
find_package(Doxygen)
|
||||
find_package(Doxygen REQUIRED)
|
||||
|
||||
if (DOXYGEN_FOUND)
|
||||
# If we find doxygen and we want to enable doxygen by default create a
|
||||
|
|
Loading…
Reference in New Issue