This is an automated email from the ASF dual-hosted git repository.

jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit e9421b826f3db5491b583db5202394e8e3861226
Author: cyy <cyye...@outlook.com>
AuthorDate: Sat Jan 5 19:28:55 2019 +0800

    remove std tr1
---
 build/cmake/DefineOptions.cmake | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/build/cmake/DefineOptions.cmake b/build/cmake/DefineOptions.cmake
index 7465c80..9aff53c 100644
--- a/build/cmake/DefineOptions.cmake
+++ b/build/cmake/DefineOptions.cmake
@@ -40,11 +40,6 @@ option(BUILD_LIBRARIES "Build Thrift libraries" ON)
 # and enables the library if all are found. This means the default is to build 
as
 # much as possible but leaving out libraries if their dependencies are not met.
 
-option(WITH_BOOST_FUNCTIONAL "Use boost/tr1/functional.hpp even under C++11 or 
later" OFF)
-if (WITH_BOOST_FUNCTIONAL)
-    add_definitions(-DFORCE_BOOST_FUNCTIONAL)
-endif()
-
 option(WITH_BOOST_STATIC "Build with Boost static link library" OFF)
 set(Boost_USE_STATIC_LIBS ${WITH_BOOST_STATIC})
 if (NOT WITH_BOOST_STATIC)
@@ -199,7 +194,6 @@ message(STATUS " Library features:")
 message(STATUS "  Build shared libraries:                     
${WITH_SHARED_LIB}")
 message(STATUS "  Build static libraries:                     
${WITH_STATIC_LIB}")
 message(STATUS "  Build with Boost static link library:       
${WITH_BOOST_STATIC}")
-message(STATUS "  Build with boost/tr1/functional (forced)    
${WITH_BOOST_FUNCTIONAL}")
 message(STATUS "  Build with C++ std::thread support:         
${WITH_STDTHREADS}")
 message(STATUS "  Build with libevent support:                
${WITH_LIBEVENT}")
 message(STATUS "  Build with OpenSSL support:                 ${WITH_OPENSSL}")

Reply via email to