From a92beb1d03d9df51667207b2f529a2a4a39b0d8f Mon Sep 17 00:00:00 2001 From: Soo Hwan Na Date: Tue, 27 Feb 2024 14:04:38 +0900 Subject: [PATCH] tgbot-cpp: Slience a pragma warning seen with boost placeholders --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fcc1bc469..d37626776 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,6 +76,7 @@ link_directories(${Boost_LIBRARY_DIR_RELEASE}) if(NOT Boost_USE_STATIC_LIBS) add_definitions(-DBOOST_ALL_DYN_LINK) endif() +add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS) set(LIB_LIST ${CMAKE_THREAD_LIBS_INIT}