# Compute the dependencies of SimGrid
#####################################
-set(SIMGRID_DEP "-lm")
+set(SIMGRID_DEP "-lm -lstdc++")
if(pthread)
if(${CONTEXT_THREADS})
endif()
endif()
+if(HAVE_LIBSIGC++)
+ SET(SIMGRID_DEP "${SIMGRID_DEP} -lsigc-2.0")
+endif()
+
if(HAVE_GTNETS)
SET(SIMGRID_DEP "${SIMGRID_DEP} -lgtnets")
endif()
# Dependencies from maintainer mode
###################################
+if(enable_maintainer_mode AND PYTHON_EXE)
+ add_dependencies(simgrid simcalls_generated_src)
+endif()
if(enable_maintainer_mode AND BISON_EXE AND LEX_EXE)
add_dependencies(simgrid automaton_generated_src)
endif()