File tree Expand file tree Collapse file tree 4 files changed +18
-10
lines changed Expand file tree Collapse file tree 4 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,6 @@ set_target_properties(
6969 PROPERTIES EXPORT_NAME google-cloud-cpp::bigquery VERSION
7070 "${PROJECT_VERSION} "
7171 SOVERSION "${PROJECT_VERSION_MAJOR} " )
72- set_target_properties (
73- google_cloud_cpp_bigquery
74- PROPERTIES EXPORT_NAME google-cloud-cpp::experimental-bigquery
75- VERSION "${PROJECT_VERSION} " SOVERSION
76- "${PROJECT_VERSION_MAJOR} " )
7772target_compile_options (google_cloud_cpp_bigquery
7873 PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG} )
7974
Original file line number Diff line number Diff line change @@ -20,3 +20,12 @@ find_dependency(google_cloud_cpp_grpc_utils)
2020find_dependency(absl)
2121
2222include ("${CMAKE_CURRENT_LIST_DIR} /google_cloud_cpp_bigquery-targets.cmake" )
23+
24+ add_library (google-cloud-cpp::experimental-bigquery IMPORTED INTERFACE )
25+ set_target_properties (google-cloud-cpp::experimental-bigquery PROPERTIES
26+ INTERFACE_LINK_LIBRARIES "google-cloud-cpp::bigquery" )
27+ if (CMAKE_VERSION VERSION_GREATER 3.17)
28+ set_target_properties (google-cloud-cpp::experimental-bigquery PROPERTIES
29+ DEPRECATION
30+ "This target will be removed on or about 2021-09-01, please use google-cloud-cpp::bigquery instead" )
31+ endif ()
Original file line number Diff line number Diff line change @@ -84,11 +84,6 @@ set_target_properties(
8484 google_cloud_cpp_iam
8585 PROPERTIES EXPORT_NAME google-cloud-cpp::iam VERSION "${PROJECT_VERSION} "
8686 SOVERSION "${PROJECT_VERSION_MAJOR} " )
87- set_target_properties (
88- google_cloud_cpp_iam
89- PROPERTIES EXPORT_NAME google-cloud-cpp::experimental-iam
90- VERSION "${PROJECT_VERSION} " SOVERSION
91- "${PROJECT_VERSION_MAJOR} " )
9287target_compile_options (google_cloud_cpp_iam
9388 PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG} )
9489
Original file line number Diff line number Diff line change @@ -20,3 +20,12 @@ find_dependency(google_cloud_cpp_grpc_utils)
2020find_dependency(absl)
2121
2222include ("${CMAKE_CURRENT_LIST_DIR} /google_cloud_cpp_iam-targets.cmake" )
23+
24+ add_library (google-cloud-cpp::experimental-iam IMPORTED INTERFACE )
25+ set_target_properties (google-cloud-cpp::experimental-iam PROPERTIES
26+ INTERFACE_LINK_LIBRARIES "google-cloud-cpp::iam" )
27+ if (CMAKE_VERSION VERSION_GREATER 3.17)
28+ set_target_properties (google-cloud-cpp::experimental-iam PROPERTIES
29+ DEPRECATION
30+ "This target will be removed on or about 2021-09-01, please use google-cloud-cpp::iam instead" )
31+ endif ()
You can’t perform that action at this time.
0 commit comments