File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ mark_as_advanced(GOOGLE_CLOUD_CPP_BUILD_METADATA)
5252
5353include ("${CMAKE_CURRENT_SOURCE_DIR} /google_cloud_cpp_common.cmake" )
5454
55+ # We need the REST libraries for the full suite of samples.
56+ if (BUILD_TESTING AND GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS)
57+ set (GOOGLE_CLOUD_CPP_ENABLE_REST ON )
58+ endif ()
59+
5560add_subdirectory (testing_util)
5661
5762if (GOOGLE_CLOUD_CPP_ENABLE_GRPC)
@@ -73,3 +78,10 @@ if (universe_domain IN_LIST GOOGLE_CLOUD_CPP_ENABLE)
7378 "${CMAKE_CURRENT_SOURCE_DIR} /google_cloud_cpp_universe_domain.cmake" )
7479 add_subdirectory (universe_domain)
7580endif ()
81+
82+ # We need the universe_domain library for the full suite of samples.
83+ if (BUILD_TESTING AND GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS)
84+ include (
85+ "${CMAKE_CURRENT_SOURCE_DIR} /google_cloud_cpp_universe_domain.cmake" )
86+ add_subdirectory (universe_domain)
87+ endif ()
You can’t perform that action at this time.
0 commit comments