[Lldb-commits] [lldb] [lldb][cmake] Set `CMAKE_OSX_SYSROOT` when building debugserver with CMake 4 (PR #138020)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 12:31:06 PDT 2025


================
@@ -154,6 +154,19 @@ endif()
 
 add_definitions(-DLLDB_USE_OS_LOG)
 
+if(CMAKE_OSX_SYSROOT)
+  set(${MIG_SYSROOT} CMAKE_OSX_SYSROOT)
----------------
chelcassanova wrote:

Good catch, this doesn't work as-is. I'll update to correct this.

https://github.com/llvm/llvm-project/pull/138020


More information about the lldb-commits mailing list