Skip to content

FindwxWidgets: version control and WIN32 search

With this changes I aim to, in firts place, make use of the 'version' argument in the usage of find_package(wxWidgets [version]). Right now is not beign used and has to be following the guidelines of cmake-developer.

In the other hand, as a (in part) Windows developer I'll find very usefull to have an alternative way of locating my libraries other than an environment variable. With the adding of a new wxWidgets_CUSTOM_ROOT_DIR we can achieve that from a parent CMake so no environment variable has to be set. This change has been reflected on the documentation of the FindwxWidgets.cmake.

First proposed in GitHub PR 359.

Edited by Brad King

Merge request reports