widelands-dev team mailing list archive
Mailing list archive
Re: [Merge] lp:~widelands-dev/widelands/GLVND_18_10 into lp:widelands
Thanks for your hard work on this :-)
Have you tried the CMake variable CMAKE_SYSTEM or CMAKE_SYTEM_VERSION? From what i have read something like this should work also, without the need the call to lsb_release:
if (CMAKE_SYSTEM_VERSION MATCHES "Ubuntu 18.10")
CMAKE_SYSTEM_VERSION should be the same as calling uname -r.
Compiling this branch now.
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/GLVND_18_10 into lp:widelands.