Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
windows: also allow internal includes to the lib
[simgrid.git] / tools / cmake / MakeLibWin.cmake
index 67bc91e..428fba4 100644 (file)
@@ -19,7 +19,13 @@ 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})
 
+# The library can obviously use the internal headers
+set_property(TARGET simgrid
+             APPEND PROPERTY INCLUDE_DIRECTORIES "${INTERNAL_INCLUDES}")