Maarten

Results 76 comments of Maarten

That is indeed wrong. I checked where `unix/joystick.cpp` was included, and that is only inside an `if(WXGTK)` check. But only because CMake does not support wxX11 or motif. wxQt doesn't...

Looks like the hunter library names you provide do not exist. When I look at https://hunter.readthedocs.io/en/latest/packages/pkg/Jpeg.html it seems you have to specify the jpeg target instead of a library name,...

I'd suggest to _not_ use the wxWidgets `zlib` branch (or any of the specific wx branches for `png`/`tiff`/`jpeg`/...) and just use `zlib` and other packages that hunter provides. If I...

> Is there something I am missing here, or is this not something that is currently supported? No, you are correct. We currently do not distribute config files, but rely...

I can improve the OpenGL logic a bit and only overwrite `OPENGL_LIBRARIES` if the targets exist. > I guess the GL libraries are pulled in via some other library. I...

This variable is not cached. The easiest way to check its value is adding ` message("OPENGL_LIBRARIES=${OPENGL_LIBRARIES}")` to `build/cmake/lib/gl/CmakeLists.txt` or directly after `find_package(OpenGL)`. I tested my proposed solution on Ubuntu and...

Something like this, inside the `if(UNIX)` case, would probably work: ```cmake check_include_files("linux/joystick.h" HAVE_JOYSTICK_H) if(NOT HAVE_JOYSTICK_H) message(WARNING "wxJoystick is not available") wx_option_force_value(wxUSE_JOYSTICK OFF) endif() ``` I can test it and create...

For now there is not much you can do. Maybe add a 3.3 milestone or appropriate label.

I could update this PR to make this work with CMake, but I don't know if and how this can be done in the bakefile-generated makefiles / project files or...