Skip to content

Commit

Permalink
Choose linkh on Linux, macho on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Aug 30, 2020
1 parent 994a1a3 commit 248e506
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ set(WITH_STACKTRACE no
if (WITH_STACKTRACE)
set(WITH_UNWIND yes)
set(WITH_BFD yes)
set(WITH_LINKH yes)
if (APPLE)
set(WITH_MACHO yes)
else()
set(WITH_LINKH yes)
endif()
set(HAVE_LFORTRAN_STACKTRACE yes)
endif()
if (WITH_BFD)
Expand Down

0 comments on commit 248e506

Please sign in to comment.