Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cmake: fix a typo that does not break as it should on my machine
[simgrid.git] / tools / cmake / Modules / FindLibunwind.cmake
index ae9b5af..f0d4786 100644 (file)
@@ -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 "")
 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 "")
   message(WARNING "libunwind.h was found, but unwind.h was not found in that directory.")
   set(LIBUNWIND_FOUND "")
   SET(LIBUNWIND_INCLUDE_DIR "")