From: Stéphane Castelli Date: Mon, 19 May 2014 08:51:59 +0000 (+0200) Subject: Fix a a wrong use of cmake, which makes linking fail when smpi is disabled X-Git-Tag: v3_11~66 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e6ccf4192ed4203b1a9f60d2d9b6ecc2921977cb?ds=sidebyside Fix a a wrong use of cmake, which makes linking fail when smpi is disabled --- diff --git a/buildtools/Cmake/DefinePackages.cmake b/buildtools/Cmake/DefinePackages.cmake index ca5bb2d641..3efaeb6ae6 100644 --- a/buildtools/Cmake/DefinePackages.cmake +++ b/buildtools/Cmake/DefinePackages.cmake @@ -232,7 +232,6 @@ set(SMPI_SRC src/smpi/smpi_pmpi.c src/smpi/smpi_replay.c src/smpi/smpi_topo.c - src/surf/surf_routing_cluster_fat_tree.cpp ) if(SMPI_F2C) @@ -335,6 +334,7 @@ set(SURF_SRC src/surf/surf_routing.cpp src/surf/surf_routing_cluster.cpp src/surf/surf_routing_cluster_torus.cpp + src/surf/surf_routing_cluster_fat_tree.cpp src/surf/surf_routing_dijkstra.cpp src/surf/surf_routing_floyd.cpp src/surf/surf_routing_full.cpp