[Lldb-commits] [PATCH] D74917: [lldb/cmake] Fail configuration if a required swig dependency is not met.

Matt Davis via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 20 16:41:55 PST 2020


mattd updated this revision to Diff 245763.
mattd retitled this revision from "[lldb/bindings] Fail configuration when a required dependency is not met." to "[lldb/cmake] Fail configuration if a required swig dependency is not met.".

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74917/new/

https://reviews.llvm.org/D74917

Files:
  lldb/cmake/modules/FindLuaAndSwig.cmake
  lldb/cmake/modules/FindPythonInterpAndLibs.cmake


Index: lldb/cmake/modules/FindPythonInterpAndLibs.cmake
===================================================================
--- lldb/cmake/modules/FindPythonInterpAndLibs.cmake
+++ lldb/cmake/modules/FindPythonInterpAndLibs.cmake
@@ -44,7 +44,7 @@
       endif()
     endif()
   else()
-    message(STATUS "SWIG 2 or later is required for Python support in LLDB but could not be found")
+    message(FATAL_ERROR "SWIG 2 or later is required for Python support in LLDB but could not be found")
   endif()
 
   include(FindPackageHandleStandardArgs)
Index: lldb/cmake/modules/FindLuaAndSwig.cmake
===================================================================
--- lldb/cmake/modules/FindLuaAndSwig.cmake
+++ lldb/cmake/modules/FindLuaAndSwig.cmake
@@ -17,7 +17,7 @@
         SWIG_EXECUTABLE)
     endif()
   else()
-    message(STATUS "SWIG 2 or later is required for Lua support in LLDB but could not be found")
+    message(FATAL_ERROR "SWIG 2 or later is required for Lua support in LLDB but could not be found")
   endif()
 
   include(FindPackageHandleStandardArgs)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74917.245763.patch
Type: text/x-patch
Size: 1074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200221/4e12ef2d/attachment.bin>


More information about the lldb-commits mailing list