summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2014-04-28 09:10:05 +0000
committerDan Liew <dan@su-root.co.uk>2014-04-28 09:10:05 +0000
commit859530fba67f0ae90ed8fe2ba083bf012b667332 (patch)
tree1e3b35df8c9147243983baf51362f387c4216abc /cmake
parentd6d57bc3fb1922ebffff028b382c6521624e3731 (diff)
downloadllvm-859530fba67f0ae90ed8fe2ba083bf012b667332.tar.gz
llvm-859530fba67f0ae90ed8fe2ba083bf012b667332.tar.bz2
llvm-859530fba67f0ae90ed8fe2ba083bf012b667332.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index d1e4b2a64e..ca4af73d92 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -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