Skip to content

Cmake issues #4

@XxA7medxX

Description

@XxA7medxX

Hello I get this when i run cmake .. -DCMAKE_BUILD_TYPE=Release -DHDF5_ROOT=/opt/homebrew/opt/hdf5 -DCMAKE_PREFIX_PATH="/opt/homebrew/opt/abseil" in the build folder. How to solve this issue? (I am using a macos m1 pro chip). Do you know how can I perhaps fix this? Thanks in advance!

CMake Error at /opt/homebrew/lib/cmake/protobuf/protobuf-targets.cmake:71 (set_target_properties):
The link interface of target "protobuf::libprotobuf" contains:

absl::absl_check

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

Call Stack (most recent call first):
/opt/homebrew/lib/cmake/protobuf/protobuf-config.cmake:16 (include)
CMakeLists.txt:16 (find_package)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions