From 954acf84cf125b5bfea063e0f64e9f45fd036cb4 Mon Sep 17 00:00:00 2001 From: swiftnav-svc-jenkins <42622338+swiftnav-svc-jenkins@users.noreply.github.com> Date: Mon, 28 Apr 2025 02:12:00 -0700 Subject: [PATCH] cmake - Fix importing of latest protobuf version # Changes In order to use the latest protobuf `v5.29.0` version, we need to tweek some compile options to remove the installation commands from a few targets, otherwise you will get the following errors: ``` -- Performing Test HAVE_CXX_FLAG_WNO_VARIADIC_MACROS -- Performing Test HAVE_CXX_FLAG_WNO_VARIADIC_MACROS - Success -- Configuring done (139.2s) CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_absl_check" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_absl_log" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_algorithm" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_base" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_bind_front" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_bits" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_btree" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_cleanup" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_cord" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_core_headers" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_debugging" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_die_if_null" that is not in any export set. CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_dynamic_annotations" that is not in any export set. ... ``` Triggered-By: cmake 8920f2a37e0cce06f64ac15c6fc4b94c4396b297 Upstream-PR: http://github.com/swift-nav/cmake/pull/181 --- c/cmake/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/cmake/common b/c/cmake/common index 30226aa87..8920f2a37 160000 --- a/c/cmake/common +++ b/c/cmake/common @@ -1 +1 @@ -Subproject commit 30226aa8719449b5cc2e683f52c03f146ef317a8 +Subproject commit 8920f2a37e0cce06f64ac15c6fc4b94c4396b297