Skip to content

Commit

Permalink
handle deprecated BOOST_BEAST_USE_STD_STRING_VIEW
Browse files Browse the repository at this point in the history
Starting with boost 1.81.0, this has become the default behavior.
  • Loading branch information
Tectu committed Apr 15, 2023
1 parent 72632a8 commit cd08de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/malloy/target_setup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function(malloy_target_common_setup TARGET)
target_compile_definitions(
${TARGET}
PUBLIC
BOOST_BEAST_USE_STD_STRING_VIEW
$<$<VERSION_LESS:${Boost_VERSION},1.81.0>:BOOST_BEAST_USE_STD_STRING_VIEW>
SPDLOG_FMT_EXTERNAL
$<$<BOOL:${MALLOY_BUILD_SHARED}>:FMT_SHARED>
$<$<BOOL:${MALLOY_FEATURE_HTML}>:MALLOY_FEATURE_HTML>
Expand Down

0 comments on commit cd08de8

Please sign in to comment.