Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix the detection of backtrace: not all linuxes have it
[simgrid.git] / tools / cmake / MakeLib.cmake
index 6b825b2..496c935 100644 (file)
@@ -95,9 +95,9 @@ if(HAVE_POSIX_GETTIME)
   SET(SIMGRID_DEP "${SIMGRID_DEP} -lrt")
 endif()
 
-if(HAVE_BACKTRACE_IN_LIBEXECINFO)
+if(HAVE_BACKTRACE)
   SET(SIMGRID_DEP "${SIMGRID_DEP} -lexecinfo")
-endif(HAVE_BACKTRACE_IN_LIBEXECINFO)
+endif()
 
 # Compute the dependencies of SMPI
 ##################################