X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/278ed194f8f669d600e7c42b54a767e6d36705a2..cb6c404ed6a176ee440c09957a8fd9f34918a29b:/buildtools/Cmake/MakeLib.cmake?ds=sidebyside diff --git a/buildtools/Cmake/MakeLib.cmake b/buildtools/Cmake/MakeLib.cmake index 9bc0d11731..6d373a1c5b 100644 --- a/buildtools/Cmake/MakeLib.cmake +++ b/buildtools/Cmake/MakeLib.cmake @@ -150,4 +150,10 @@ if(enable_lib_static) target_link_libraries(smpi_static simgrid ${SMPI_LDEP}) set_target_properties(smpi_static PROPERTIES OUTPUT_NAME smpi) endif(enable_smpi) -endif(enable_lib_static) \ No newline at end of file +endif(enable_lib_static) + +# Dependencies from maintainer mode +################################### +if(enable_maintainer_mode AND YACC_EXE AND LEX_EXE) + add_dependencies(simgrid automaton_generated_src) +endif(enable_maintainer_mode AND YACC_EXE AND LEX_EXE) \ No newline at end of file