Skip to content

Build fails with latest ctypesgen #89

Open
@bobh66

Description

@bobh66

Since ctypesgen 0.1.1 (now 1.0.0) it has installed as "ctypesgen" instead of "ctypesgen.py" so CMakeLists.txt can't find the executable.

The fix is trivial:

FIND_PROGRAM(CTYPESGEN_FOUND ctypesgen.py)
IF (NOT CTYPESGEN_FOUND)
  FIND_PROGRAM(CTYPESGEN_FOUND ctypesgen)
ENDIF()

If that's acceptable I'll push a PR.

Thanks

Activity

briggleman

briggleman commented on Sep 24, 2019

@briggleman

any status on this change? this is breaking python builds and keeping it locked on the older versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @briggleman@bobh66

      Issue actions

        Build fails with latest ctypesgen · Issue #89 · graphql/libgraphqlparser