Skip to content

Search for ctypesgen if ctypesgen.py is not found.#90

Open
bobh66 wants to merge 1 commit intographql:masterfrom
bobh66:fix_ctypesgen
Open

Search for ctypesgen if ctypesgen.py is not found.#90
bobh66 wants to merge 1 commit intographql:masterfrom
bobh66:fix_ctypesgen

Conversation

@bobh66
Copy link

@bobh66 bobh66 commented Sep 28, 2019

The latest version of ctypesgen installs the executable as "ctypesgen" instead of "ctypesgen.py", so the cmake command fails to find it.

This PR adds a check to see if ctypesgen.py was found, and if not it looks for ctypesgen and uses that.

Fixes #89

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 this pull request may close these issues.

Build fails with latest ctypesgen

2 participants