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

add .gitignore file and fix the CMakeLists.txt error de docs/web/ #112

Closed weihuayi closed 1 year ago

weihuayi commented 1 year ago

When build mgis by cmake

cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -Denable-c-bindings=ON -Denable-fortran-bindings=ON  -Denable-python-bindings=ON

I met the following error

CMake Error at docs/web/CMakeLists.txt:58 (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.

So I comment the line 58 in at docs/web/CMakeLists.txt:58

thelfer commented 1 year ago

I published a fix for the error in docs/web/CMakeLists.txt, would you check