Detection fails on our test platform if we don't use static version
+if(WIN32)
+ set(Boost_USE_STATIC_LIBS 1)
+endif()
+
find_package(Boost 1.48)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
find_package(Boost 1.48)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
if (HAVE_PTHREAD)
set(SIMGRID_DEP "${SIMGRID_DEP} -lpthread")
endif()
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})
endif()
target_link_libraries(simgrid ${SIMGRID_DEP})