Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with latest ctypesgen #89

Open
bobh66 opened this issue Sep 21, 2019 · 1 comment · May be fixed by #90
Open

Build fails with latest ctypesgen #89

bobh66 opened this issue Sep 21, 2019 · 1 comment · May be fixed by #90

Comments

@bobh66
Copy link

bobh66 commented Sep 21, 2019

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

@briggleman
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants