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)
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)
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits