-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 wx-config not present on mingw-cross. #24454
Comments
It's a bit more that just that. On the FindwxWidgets side,
Unfortunately I don't know where to proceed from there. |
You could try However, I don't know if these are correct when cross-compiling. |
thanks this works well as a solution! |
Hello again (#24451 ), I found a bug in the build system when cross compiling wx, it will not produce a wx-config like is expected.
I think we should always try to produce this file if on mingw, since mingw is a unix-like and everything fails to build without this file. On ./configure the wx-config is produced properly, which is what MSYS2 does.
Anyway, look at this:
build/cmake/functions.cmake
If we look at CMake.
CMake/Modules/FindwxWidgets.cmake
Clearly these things are not the same, as claims the comment. The find package then fails because wx-config is not present, nor is the wx-config produced at build time.
The text was updated successfully, but these errors were encountered: