Answer the question
In order to leave comments, you need to log in
Can't find wxWidgets with wxWidgets_ROOT_DIR explicitly specified?
wxWidgets is built via mingw and has install prefix = /usr/i686-mingw for example
In CMakeLists.txt I'm trying to find in a simple way:
find_package(wxWidgets COMPONENTS core base gl net REQUIRED)
Answer the question
In order to leave comments, you need to log in
The reason was this:
Cmake 3.0 was significantly older than wxWidgets 3.1, around 2014 vs 2016 respectively.
Installed cmake 3.7 and one line
is enough
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question