src/simdag/sd_workstation.c
src/simdag/sd_daxloader.c
)
-if(HAVE_CGRAPH_H)
- set(SIMDAG_SRC
- ${SIMDAG_SRC}
+if(GRAPH_H OR AGRAPH_H OR CGRAPH_H)
+ set(SIMDAG_SRC
+ ${SIMDAG_SRC}
src/simdag/sd_dotloader.c
)
-
-endif(HAVE_CGRAPH_H)
+endif(GRAPH_H OR AGRAPH_H OR CGRAPH_H)
set(GRAS_COMMON_SRC
src/gras/gras.c
include/amok/peermanagement.h
include/amok/bandwidth.h
include/instr/instr.h
-include/simgrid_config.h
+${CMAKE_CURRENT_BINARY_DIR}/include/simgrid_config.h
include/gras.h
include/xbt.h
)