Skip to content

v21.0 does not install all the CMake configuration files #10045

Closed
@coryan

Description

@coryan

What version of protobuf and what language are you using?

Version: v21.0
Language: C++

What operating system (Linux, Windows, ...) and version?

Linux, but probably all operating systems are affected

What runtime / compiler are you using (e.g., python version or gcc version)

 gcc --version
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

What did you do?

Compiled and installed protobuf using CMake. See this Dockerfile.txt

What did you expect to see

A working install.

What did you see instead?

Protobuf did not install the protobuf-config.cmake file, and thus find_package(protobuf CONFIG) is not functional.

Anything else we should know about your project / environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions