Skip to content

how to use cmake link a third static library to my new static library? #17540

@pkujhd

Description

@pkujhd

Hi everybody!

I'm trying to use cmake toolchains link a third static library(e.g protobuf) into my new static library, I already add target_link_libraries(TARGET, protobuf), but generate link.txt only has command "emar qc target *.o"

How to change CMakeLists.txt to link static library?

thanks.

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