Comment 2 for bug 1819928

Someone from the GenToo community solved this problem
by replacing (in CMakeLists.txt)
FIND_PACKAGE(wxWidgets REQUIRED)
by
FIND_PACKAGE(wxWidgets REQUIRED base core aui xrc html xml adv gl net qa)

see
https://bugs.gentoo.org/show_bug.cgi?id=678644