Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cmake: fix a typo that does not break as it should on my machine
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 25 Jan 2018 18:19:29 +0000 (19:19 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 25 Jan 2018 18:19:32 +0000 (19:19 +0100)
Gosh I hate unsafe scripting languages

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 "")
-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 "")