Skip to content

Commit

Permalink
Silence deprecation warnings coming from SimpleAmqpClient incompatibi…
Browse files Browse the repository at this point in the history
…lities with boost 1.82
  • Loading branch information
dagardner-nv committed Oct 10, 2023
1 parent 7dc7b08 commit d224ed9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ function(find_and_configure_SimpleAmqpClient version)
# Needed to pick up the generated export.h
target_include_directories(SimpleAmqpClient PUBLIC "${rabbitmq_BINARY_DIR}/include")

# Suppress #warning deprecation messages from rabbitmq
target_compile_options(SimpleAmqpClient PRIVATE -Wno-cpp)
# Suppress #warning deprecation messages from rabbitmq and SimpleAmqpClient
# https://github.com/nv-morpheus/Morpheus/issues/1255
target_compile_options(SimpleAmqpClient PRIVATE -Wno-cpp -DBOOST_DISABLE_PRAGMA_MESSAGE)

endfunction()

Expand Down

0 comments on commit d224ed9

Please sign in to comment.