Skip to content

Commit 1077fe6

Browse files
authored
QPID-8605: silence the boost bind global placeholders warning (#41)
1 parent 4b1afd9 commit 1077fe6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ if (MSVC)
7777
add_compile_options(/wd4996)
7878
endif (MSVC)
7979

80+
# QPID-8605: silence the global placeholders deprecation warning from boost
81+
add_compile_definitions(BOOST_BIND_GLOBAL_PLACEHOLDERS)
82+
8083
# Overall packaging/install options.
8184
# This section also has all the setup for various packaging-specific options.
8285
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")

0 commit comments

Comments
 (0)