glfw/glfw

glfw 3.4 linux build doesn't run doxygen in builddir/docs/html when a builddir is set.

satmandu opened this issue · 1 comments

I get this building on x86_64 and armv7l using cmake and -C builddir -DBUILD_SHARED_LIBS=ON using the current version of cmake (3.28.3):

Command "bash -c DESTDIR=/usr/local/tmp/crew/dest ninja -C builddir install" failed, retrying with "-j1"...                                                                                                   ninja: Entering directory `builddir'
[0*1/1] Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/tmp/crew/dest/usr/local/lib64/libglfw.so.3.4                                                                                                                                        -- Up-to-date: /usr/local/tmp/crew/dest/usr/local/lib64/libglfw.so.3
-- Up-to-date: /usr/local/tmp/crew/dest/usr/local/lib64/libglfw.so                                                                                                                                            CMake Error at docs/cmake_install.cmake:46 (file):
  file INSTALL cannot find
  "/usr/local/tmp/crew/glfw.20240226131002.dir/glfw-3.4/builddir/docs/html":                                                                                                                                    No such file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:62 (include) 

Looking at my builddir/docs dir I see this:

ls glfw-3.4/builddir/docs
CMakeFiles  cmake_install.cmake  Doxyfile

It looks like doxygen is run in the glfw_source/docs/ directory and not in the builddir/docs/ directory.

Doxygen is definitely found:

-- Found Doxygen: /usr/local/bin/doxygen (found version "1.10.0") found components: doxygen
-- Configuring done (26.5s)
-- Generating done (0.0s)