thelfer / MFrontGenericInterfaceSupport

This project aims at providing support for MFront generic behaviours. This project can be embedded in open-source and propriary sofware
37 stars 35 forks source link

Compiling documention #128

Closed prs513rosewood closed 6 months ago

prs513rosewood commented 7 months ago

Hello,

When configuring (CMake 3.28.1) with -Denable-doxygen-doc=ON I get the following error :

CMake Error at CMakeLists.txt:228 (add_dependencies):
  Cannot add target-level dependencies to non-existent target "doc".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.

Commenting out line 228 correctly creates the doc-html target, which compiles the doxygen API pages.

thelfer commented 6 months ago

Fixed. Thanks for reporting !