-
Notifications
You must be signed in to change notification settings - Fork 4
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
cmake setup should check for python and fail if it is not present #25
Comments
how do projects typically check if python is present when using cmake? |
I think this is probably done using FindPython (which should be builtin): https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython
The build environment only has installed what is specifically required. Cmake e.g. doesn't rely on python so it is not installed :) |
I was writing a Turns out Then I got another error about missing I think all these including |
alsa, sdl and x11 are not required, they are optional. build is supposed to continue without them, just will have missing features. |
Sorry, I can not seem to reproduce this today. If I just add
But if I add However if I add
Maybe I did something else wrong yesterday. |
Hi! When trying to package 1.0.0 for Arch Linux I ran into the issue that Python is required, but the cmake setup does not query for it.
Since the build system should ensure that all requirements are met before building, I think it would be a good idea to make sure it is installed before attempting to build this project! :)
The text was updated successfully, but these errors were encountered: