You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
message(${MESSAGE_MODE}"Cannot find lldb-3.5, lldb-3.6, lldb-3.8, lldb-3.9or lldb-4.0. Try installing lldb-3.6-dev (or the appropriate package for your platform)")
53
+
message(${MESSAGE_MODE}"Cannot find lldb-3.5, lldb-3.6, lldb-3.8, lldb-3.9, lldb-4.0, lldb-5.0 or lldb-6.0. Try installing lldb-3.6-dev (or the appropriate package for your platform)")
54
54
return()
55
55
endif()
56
56
57
57
message(STATUS"LLDB: ${LLDB}")
58
58
59
59
# Check for LLDB headers
60
60
61
+
# Multiple versions of LLDB can install side-by-side, so we need to check for lldb in various locations.
62
+
# If the file in a directory is found the result is stored in the variable and the search will not be repeated unless the variable is cleared.
message(FATAL_ERROR "Cannot find LLDB.h. Try installing lldb-3.6-dev (or the appropriate package for your platform)")
72
-
else()
73
-
message(WARNING "Cannot find LLDB.h Try installing lldb-3.6-dev (or the appropriate package for your platform)")
74
-
endif()
75
-
return()
76
-
endif()
77
-
endif()
78
+
if(REQUIRE_LLDBPLUGIN)
79
+
set(MESSAGE_MODE FATAL_ERROR)
80
+
else()
81
+
set(MESSAGE_MODE WARNIG)
78
82
endif()
83
+
message(${MESSAGE_MODE}"Cannot find LLDB.h Try installing lldb-3.6-dev (or the appropriate package for your platform). You may need to set LLVM_HOME if the build still can't find it.")
0 commit comments