From c82ebceb41f8ca1bea128fa802515b0ad50b764b Mon Sep 17 00:00:00 2001 From: Isaac Hier Date: Wed, 15 Nov 2017 07:43:53 -0500 Subject: [PATCH] Always add Boost library as required library --- lib/cpp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt index a864fc31545..830d6816c7f 100755 --- a/lib/cpp/CMakeLists.txt +++ b/lib/cpp/CMakeLists.txt @@ -24,6 +24,8 @@ set(SYSLIBS "") set(package_deps Boost) set(boost_components) +list(APPEND SYSLIBS "${Boost_LIBRARIES}") + # Create the thrift C++ library set( thriftcpp_SOURCES src/thrift/Thrift.cpp @@ -112,7 +114,6 @@ if(WITH_BOOSTTHREADS) src/thrift/concurrency/BoostMonitor.cpp src/thrift/concurrency/BoostMutex.cpp ) - list(APPEND SYSLIBS "${Boost_LIBRARIES}") list(APPEND boost_components thread) elseif(UNIX AND NOT WITH_STDTHREADS) if(ANDROID)