diff options
author | Nobuaki Sukegawa <nsukeg@gmail.com> | 2014-12-16 03:24:37 +0900 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2014-12-21 16:36:46 +0100 |
commit | 2825664f25e084a922462c77f496d215e41251a9 (patch) | |
tree | 884bad4f0115400618411879ce6f559c33f99088 /contrib | |
parent | 051ea1cf2fe202deb2078017185a1a5b1c9d8cb7 (diff) | |
download | thrift-2825664f25e084a922462c77f496d215e41251a9.tar.gz |
THRIFT-2893 CMake build fails with boost thread or std thread
Following changes are made to fix the build
* Add USE_..._THREAD compiler definitions correctly
* Link to boost_thread and boost_system when configured with boost thread
* Link to pthread if platform is posix and std thread is used
* Use PlatformThreadFactory in test code
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/installCXXDependencies.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/installCXXDependencies.sh b/contrib/installCXXDependencies.sh index 62d05c4f7..f34e26ba1 100644 --- a/contrib/installCXXDependencies.sh +++ b/contrib/installCXXDependencies.sh @@ -25,5 +25,5 @@ # General dependencies sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu/ trusty main restricted" -y sudo apt-get update -qq -sudo apt-get install -qq libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev make libqt4-dev git debhelper bc +sudo apt-get install -qq libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev make libqt4-dev git debhelper bc dpkg -S /usr/include/boost/version.hpp |