set(SIMGRID_DEP "${SIMGRID_DEP} -lstdc++")
endif()
-if(pthread AND ${CONTEXT_THREADS} AND NOT APPLE)
+if(HAVE_PTHREAD AND ${CONTEXT_THREADS} AND NOT APPLE)
# Clang on recent Mac OS X is not happy about -pthread.
SET(SIMGRID_DEP "${SIMGRID_DEP} -pthread")
endif()
SET(SIMGRID_DEP "${SIMGRID_DEP} -lsigc-2.0")
endif()
-if(HAVE_GTNETS)
- SET(SIMGRID_DEP "${SIMGRID_DEP} -lgtnets")
-endif()
-
if(HAVE_MC)
# The availability of libunwind was checked in CompleteInFiles.cmake
# (that includes FindLibunwind.cmake), so simply load it now.