X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c847d93a8295862a78c03b79f198e0c7cd6154bb..c7576454747b226b96babe1fb769239059f74467:/buildtools/Cmake/MakeLib.cmake 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