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)