Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix non-graphviz builds
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 2 Jan 2022 17:05:56 +0000 (18:05 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 2 Jan 2022 17:05:56 +0000 (18:05 +0100)
src/simdag/sd_daxloader.cpp

index d471fe2..2bab191 100644 (file)
@@ -286,9 +286,10 @@ std::vector<ActivityPtr> create_DAG_from_dot(const std::string& filename)
   return dag;
 }
 #else
-std::vector<ActivityPtr> create_DAG_from_dot(const std::string& filename) xbt_die(
-    "create_DAG_from_dot() is not usable because graphviz was not found.\n"
-    "Please install graphviz, graphviz-dev, and libgraphviz-dev (and erase CMakeCache.txt) before recompiling.");
+std::vector<ActivityPtr> create_DAG_from_dot(const std::string& filename)
+{
+  xbt_die("create_DAG_from_dot() is not usable because graphviz was not found.\n"
+          "Please install graphviz, graphviz-dev, and libgraphviz-dev (and erase CMakeCache.txt) before recompiling.");
 }
 #endif
 } // namespace s4u