jrl-umi3218 / jrl-cmakemodules

CMake utility toolbox
https://jrl-cmakemodules.readthedocs.io/en/master/
Other
57 stars 45 forks source link

Fix relative path issues for doc #597

Closed jcarpent closed 1 year ago

jcarpent commented 1 year ago

_PKG_CONFIG_DOXYGENDOCDIR contained a non-existing path

The previous solution was producing an error of the form:

-- Doxygen rendering: using MathJax backend
CMake Error at cmake/doxygen.cmake:686 (file):
  file RELATIVE_PATH must be passed a full path to the directory:
  ${pcfiledir}/../../share/doc/proxnlp/doxygen-html
Call Stack (most recent call first):
  cmake/base.cmake:319 (_setup_project_documentation_finalize)
  cmake/base.cmake:210 (setup_project_finalize)
  CMakeLists.txt:9223372036854775807 (SETUP_PROJECT_FINALIZE_HOOK)