Skip to content

Commit

Permalink
Fix CLR_CMAKE_USE_SYSTEM_LIBUNWIND on macOS (#68116)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 authored Apr 19, 2022
1 parent d91e821 commit 97c9a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/corehost/apphost/static/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ if(CLR_CMAKE_TARGET_FREEBSD)
set(CLR_CMAKE_USE_SYSTEM_LIBUNWIND 1)
endif()

if(CLR_CMAKE_USE_SYSTEM_LIBUNWIND)
if(CLR_CMAKE_USE_SYSTEM_LIBUNWIND AND NOT CLR_CMAKE_TARGET_OSX)
find_unwind_libs(UNWIND_LIBS)

LIST(APPEND NATIVE_LIBS
Expand Down

0 comments on commit 97c9a11

Please sign in to comment.