Skip to content

Commit 893c4d2

Browse files
Merge pull request #1423 from adrian-prantl/63840635-2
Use CMAKE_OSX_SYSROOT instead of the environment variable SYSROOT
2 parents 8c7c96c + e9c1e8c commit 893c4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/debugserver/source/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if(LLDB_USE_ENTITLEMENTS)
129129
endif()
130130
endif()
131131

132-
if($ENV{SDKROOT} MATCHES ".Internal.sdk$")
132+
if(${CMAKE_OSX_SYSROOT} MATCHES ".Internal.sdk$")
133133
message(STATUS "LLDB debugserver energy support is enabled")
134134
add_definitions(-DLLDB_ENERGY)
135135
set(ENERGY_LIBRARY -lpmenergy -lpmsample)

0 commit comments

Comments
 (0)