summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorcyy <cyyever@outlook.com>2019-01-05 19:28:55 +0800
committerJames E. King III <jking@apache.org>2019-01-07 08:11:37 -0500
commite9421b826f3db5491b583db5202394e8e3861226 (patch)
treee14cd646c5f7d5ebee19a2002b3f05daa554f882 /build
parent0f43f95b89db01a8c68225824f8aa7fd4522007e (diff)
downloadthrift-e9421b826f3db5491b583db5202394e8e3861226.tar.gz
remove std tr1
Diffstat (limited to 'build')
-rw-r--r--build/cmake/DefineOptions.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/build/cmake/DefineOptions.cmake b/build/cmake/DefineOptions.cmake
index 7465c8037..9aff53c16 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}")