Skip to content

WITH_CURL off still tries to include curl.h #5204

@jerry-123123

Description

@jerry-123123

#cmakedefine01 (in config.h.in) sets WITH_OAUTHBEARER_OIDC as either 0 (when disabled) or 1 (when enabled). The problem is that
#ifdef checks if a symbol is defined, not its value. So #ifdef WITH_OAUTHBEARER_OIDC is always true causing curl.h to always be required.

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