Use CMAKE_OSX_SYSROOT instead of the environment variable SYSROOT
authorAdrian Prantl <aprantl@apple.com>
Mon, 6 Jul 2020 20:15:28 +0000 (13:15 -0700)
committerAdrian Prantl <aprantl@apple.com>
Mon, 6 Jul 2020 20:17:31 +0000 (13:17 -0700)
commit60c07fd016a3a5f2050828f92257e1e5d33a485b
tree57220a65510365c2438f7b1194ce4a2d682014f9
parent1b183918184ecbcd03898badf8d1789ea0f4ffe4
Use CMAKE_OSX_SYSROOT instead of the environment variable SYSROOT

to detect energy support in debugserver.  The way that Swift
build-script is invoked the former may be overridden manually.

<rdar://problem/63840635>
lldb/tools/debugserver/source/CMakeLists.txt