[llvm] r207404 - If building with LLVM_ENABLE_DOXYGEN and using CMake then

Dan Liew dan at su-root.co.uk
Mon Apr 28 02:10:07 PDT 2014


Author: delcypher
Date: Mon Apr 28 04:10:05 2014
New Revision: 207404

URL: http://llvm.org/viewvc/llvm-project?rev=207404&view=rev
Log:
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.

Modified:
    llvm/trunk/cmake/config-ix.cmake

Modified: llvm/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/config-ix.cmake?rev=207404&r1=207403&r2=207404&view=diff
==============================================================================
--- llvm/trunk/cmake/config-ix.cmake (original)
+++ llvm/trunk/cmake/config-ix.cmake Mon Apr 28 04:10:05 2014
@@ -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





More information about the llvm-commits mailing list