From: Martin Quinson Date: Thu, 25 Jan 2018 18:19:29 +0000 (+0100) Subject: cmake: fix a typo that does not break as it should on my machine X-Git-Tag: v3.19~302 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3bad6a38bb80df39b69ceaa4a3cefc059df5b0a1 cmake: fix a typo that does not break as it should on my machine Gosh I hate unsafe scripting languages --- diff --git a/tools/cmake/Modules/FindLibunwind.cmake b/tools/cmake/Modules/FindLibunwind.cmake index ae9b5af0f8..f0d47867d7 100644 --- a/tools/cmake/Modules/FindLibunwind.cmake +++ b/tools/cmake/Modules/FindLibunwind.cmake @@ -41,7 +41,7 @@ FIND_PATH(LIBUNWIND_INCLUDE_DIR libunwind.h) if(NOT LIBUNWIND_INCLUDE_DIR) message(WARNING "failed to find libunwind.h") set(LIBUNWIND_FOUND "") -elif(NOT EXISTS "${LIBUNWIND_INCLUDE_DIR}/unwind.h") +elseif(NOT EXISTS "${LIBUNWIND_INCLUDE_DIR}/unwind.h") message(WARNING "libunwind.h was found, but unwind.h was not found in that directory.") set(LIBUNWIND_FOUND "") SET(LIBUNWIND_INCLUDE_DIR "")