Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
Always add Boost library as required library
Browse files Browse the repository at this point in the history
  • Loading branch information
isaachier committed Nov 15, 2017
1 parent d3bd95c commit c82ebce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c82ebce

Please sign in to comment.