Skip to content

Commit a92beb1

Browse files
committed
tgbot-cpp: Slience a pragma warning seen with boost placeholders
1 parent f28792e commit a92beb1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ link_directories(${Boost_LIBRARY_DIR_RELEASE})
7676
if(NOT Boost_USE_STATIC_LIBS)
7777
add_definitions(-DBOOST_ALL_DYN_LINK)
7878
endif()
79+
add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)
7980

8081
set(LIB_LIST
8182
${CMAKE_THREAD_LIBS_INIT}

0 commit comments

Comments
 (0)