Skip to content

Commit

Permalink
fix Boost::Stacktrace on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Mar 1, 2024
1 parent 7964a7a commit ae1f88b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ARRCON/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ FetchContent_Declare(
#set(BOOST_INCLUDE_LIBRARIES asio stacktrace)
FetchContent_MakeAvailable(Boost)

if (APPLE)
# Fix Boost::Stacktrace
target_compile_options(ARRCON PRIVATE "-D_GNU_SOURCE")
endif()

target_link_libraries(ARRCON PRIVATE TermAPI filelib Boost::asio)

# Link Boost::Stacktrace
Expand Down

0 comments on commit ae1f88b

Please sign in to comment.