Closed quickdudley closed 3 months ago
Thank you for this; do we know whether removing SDL2::SDL2main
will have negative impacts on any other platform?
Fortunately I actually checked before attempting to answer your question: it seems that SDL2::SDL2main
is actually still required on some platforms but no longer available on platforms on which it's not required. I will update my pull request accordingly. (CMake is actually very much a new language for me, so the first time reading the GitHub thread about that issue it seems I missed some important details from a couple of the comments)
These are the changes I made getting kq-fork to build and install on my NixOS machine, but AFAIK nothing I did is specific to NixOS.
unix.cpp
so that it compiles$prefix/share/kq-fork
(using them from the installed location still requires passing-DKQ_DATADIR=$prefix/share/kq-fork
tocmake
)