This is a Catch2 issue. Found the reason: https://github.com/catchorg/Catch2/pull/2441
Undefined references to 'WinMain' or `wWinMain` in standard C++
Is there any update on the opened ticket? How can I use the suggested xml fix?