summaryrefslogtreecommitdiff
path: root/test/cpp
diff options
context:
space:
mode:
authorJames E. King III <jking@apache.org>2019-01-07 16:46:45 -0500
committerJames E. King III <jking@apache.org>2019-01-09 17:05:34 -0500
commitc9ac8d2953a4806cc93aa4ff2e700623ecad980c (patch)
tree74cb331a75066bc9b13910652a3724606fa65bbe /test/cpp
parenta5df39032ca206e2e6a9ec975147e81746d9a255 (diff)
downloadthrift-c9ac8d2953a4806cc93aa4ff2e700623ecad980c.tar.gz
THRIFT-4720: documenting breaking changes, minor cleanup
Diffstat (limited to 'test/cpp')
-rwxr-xr-xtest/cpp/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/cpp/CMakeLists.txt b/test/cpp/CMakeLists.txt
index 95d2991f8..0c0bd2f57 100755
--- a/test/cpp/CMakeLists.txt
+++ b/test/cpp/CMakeLists.txt
@@ -17,11 +17,15 @@
# under the License.
#
+# The test executables still depend on Boost
+include(BoostMacros)
+REQUIRE_BOOST_HEADERS()
+set(BOOST_COMPONENTS filesystem program_options random)
+REQUIRE_BOOST_LIBRARIES(BOOST_COMPONENTS)
+
# Contains the thrift specific LINK_AGAINST_THRIFT_LIBRARY
include(ThriftMacros)
-include_directories(SYSTEM "${Boost_INCLUDE_DIRS}")
-
find_package(OpenSSL REQUIRED)
include_directories(SYSTEM "${OPENSSL_INCLUDE_DIR}")