Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix pip builds
[simgrid.git] / tools / cmake / DefinePackages.cmake
index ab7863b8681f0385cdeed95b800f3ac9fc765fe8..5562291885e70fbc05a4a35a7af15c94989f0cc6 100644 (file)
@@ -833,7 +833,11 @@ if(SIMGRID_HAVE_MC)
 endif()
 
 if(SIMGRID_HAVE_NS3)
+  set(headers_to_install ${headers_to_install} include/simgrid/plugins/ns3.hpp)
+
   set(simgrid_sources  ${simgrid_sources}  ${NS3_SRC})
+else()  
+  set(EXTRA_DIST ${EXTRA_DIST} include/simgrid/plugins/ns3.hpp)
 endif()
 
 if(SIMGRID_HAVE_LUA)