Skip to content

Commit

Permalink
Avoid boost using deprecated functions on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Jesus committed Aug 24, 2024
1 parent b19f804 commit 5bdf02b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/Pagoda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ function (add_pagoda_build_unit)
# Shared libraries
$<$<BOOL:${PAGODA_SHARED_LIB}>:PAGODA_SHARED_LIB>
${PARSED_ARGS_COMPILE_DEFINITIONS}
# Prevent Boost from using deprecated functions on mac
$<$<PLATFORM_ID:Darwin>:BOOST_NO_CXX98_FUNCTION_BASE>
)

set_target_properties(${PARSED_ARGS_NAME}
Expand Down

0 comments on commit 5bdf02b

Please sign in to comment.