X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..73e97710413bba3ee2ae8baab0537fbd78811016:/tools/cmake/Modules/FindLibunwind.cmake diff --git a/tools/cmake/Modules/FindLibunwind.cmake b/tools/cmake/Modules/FindLibunwind.cmake index 8ae23e59a5..3b98afaaaf 100644 --- a/tools/cmake/Modules/FindLibunwind.cmake +++ b/tools/cmake/Modules/FindLibunwind.cmake @@ -1,6 +1,6 @@ # Search for libunwind and components, both includes and libraries # -# Copyright (C) 2003-2019 The SimGrid Team. +# Copyright (C) 2003-2021 The SimGrid Team. # This is distributed under the LGPL licence but please contact us for # relicensing if you need. This is merely free software, no matter the licence. # @@ -26,11 +26,11 @@ endif() # - Calls include_directories() on where libunwind.h lives # - Calls link_directories() on where the libs live -# Of course also need the core lib +# Of course also need the core lib set(LIBUNWIND_COMPONENTS ${LIBUNWIND_COMPONENTS} "unwind") message(STATUS "Looking for libunwind:") -# Let's assume we have it, and invalidate if parts are missing +# Let's assume we have it, and invalidate if parts are missing SET(HAVE_LIBUNWIND 1) # @@ -78,7 +78,7 @@ foreach(component ${LIBUNWIND_COMPONENTS}) else() SET(LIBUNWIND_LIBRARIES "${LIBUNWIND_LIBRARIES} -l${component}") endif() - + else() message(" Looking for lib${component}.${LIB_EXE} - not found") SET(HAVE_LIBUNWIND 0)