Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce the shotgun design pattern in the detection of NS3
[simgrid.git] / tools / cmake / MakeLibWin.cmake
index 67bc91e..fdbafe3 100644 (file)
@@ -19,6 +19,9 @@ else()
   if (HAVE_PTHREAD)
     set(SIMGRID_DEP "${SIMGRID_DEP} -lpthread")
   endif()
+  if (HAVE_BOOST_CONTEXTS)
+    set(SIMGRID_DEP "${SIMGRID_DEP} ${Boost_CONTEXT_LIBRARY}")
+  endif()
 endif()
 
 target_link_libraries(simgrid  ${SIMGRID_DEP})