- Added logic to handle gRPC target resolution, allowing for fallback to bare names when using FetchContent or vcpkg. - Updated the handling of CMAKE_CROSSCOMPILING to ensure proper configuration for host builds, preventing issues with protoc binary location. - Adjusted target_add_protobuf function to use generator expressions for better compatibility and maintainability. Benefits: - Improves build reliability and flexibility when integrating gRPC support. - Ensures correct handling of cross-compilation scenarios, enhancing compatibility across platforms.
7.8 KiB
7.8 KiB