Skip to content

CMake configure fails if plugin name != project name #173

@chrhaase

Description

@chrhaase

Happens here.
Fails if there's no plugin target called "${CMAKE_PROJECT_NAME}". I ran into this when adding pluginval to my library of common plugin stuff, where I have a few template/test plugins that are not named after the project.

Maybe this could be function instead where you pass the name of your plugin target?
Or maybe just make it optional? I'll be happy to submit a PR if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions