diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index eb5ff99b63..7452829c41 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -39,7 +39,7 @@ if (DOXYGEN_FOUND) doxygen ${DOXYGEN_DIR}/doxygen.cfg WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" DEPENDS - docs mlir-doc copy-docs-dir + mlir-headers docs mlir-doc copy-docs-dir ) else() message("Doxygen is required to build documentation")