-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: use pkg-config + test compile instead of Find module for detecting rpi #8052
Conversation
|
Much closer:
|
Where this is found varies by distribution, but here it's in /opt/vc/lib/libbcm_host.so |
Adding -l/opt/vc/lib to the link line works here. |
Does |
It appears not to be:
|
|
Can you try again? It now sets the |
Looks good, thanks! Should I merge, or are you still iterating? |
I think the I also think SDL does not need to link to Can you re-build SDL in a clean build folder? |
It works great! |
Merging. |
Fixes #8050
@slouken
Can you please test this?
I don't have a rpi configured right now, so I can't test it.