[CMake] Can't find wxWidgets

Richard Shaw hobbes1069 at gmail.com
Thu Jul 9 14:46:37 EDT 2015


On Thu, Jul 9, 2015 at 1:19 PM, Bob Bachman <bob_bachman at intercept.com>
wrote:

> We've upgraded from wxWidgets 2.8.10 to 3.0.2 and our CMake scripts can no
> longer find the required wxWidgets libs. The wxWidgets shared object files
> have been built and exist in the same directory structure as the 2.8.10
> version. Any help would be greatly appreciated. Thank you


Double check that the wx-config script has not changed names... On Fedora
we allow both to be installed so on 3.X the wx-config script is renamed to
wx-config-3.0 so I have to do something like:

$ cmake -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config.3.0

and everything works as usual.

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150709/8d2109c6/attachment.html>


More information about the CMake mailing list