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

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 12:24:36 PDT 2025


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

Shouldn't this be `set(MIG_SYSROOT ${CMAKE_OSX_SYSROOT})`? Does this work as-is?

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


More information about the lldb-commits mailing list