summaryrefslogtreecommitdiff
path: root/compiler/cpp/test
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 /compiler/cpp/test
parenta5df39032ca206e2e6a9ec975147e81746d9a255 (diff)
downloadthrift-c9ac8d2953a4806cc93aa4ff2e700623ecad980c.tar.gz
THRIFT-4720: documenting breaking changes, minor cleanup
Diffstat (limited to 'compiler/cpp/test')
-rw-r--r--compiler/cpp/test/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/cpp/test/CMakeLists.txt b/compiler/cpp/test/CMakeLists.txt
index a09f23d7c..572b55890 100644
--- a/compiler/cpp/test/CMakeLists.txt
+++ b/compiler/cpp/test/CMakeLists.txt
@@ -17,10 +17,13 @@
# under the License.
#
+# Unit tests for the compiler still require boost
+include(BoostMacros)
+REQUIRE_BOOST_HEADERS()
+set(BOOST_COMPONENTS unit_test_framework)
+REQUIRE_BOOST_LIBRARIES(BOOST_COMPONENTS)
if(${WITH_PLUGIN})
- include_directories(SYSTEM "${Boost_INCLUDE_DIRS}")
-
# Make sure gen-cpp files can be included
include_directories("${CMAKE_CURRENT_BINARY_DIR}")