[kde-freebsd] CMake: Problem with wxWidget

Matthias Goesswein tisi at sbox.tugraz.at
Wed Mar 24 17:54:32 CET 2010


Hello!

I want to use wxWidgets within a project and use the following code 
snippet in my CMakeLists.txt:

find_package(wxWidgets COMPONENTS base code)

But when i call cmake it doesn't find wxWidgets, although my system has 
wxWidgets installed.

I think the problem is that the FindwxWidget.cmake searches for a 
wx-config, but FreeBSD has no "wx-config" (it's named with a version, 
like wxgtk2-2.6-config). If i make a symlink to wx-config it works.

Is it possible to patch the FindwxWidgets-Module to find the wxWidgets 
without this hack?

Chears,
Matthias Goesswein.




More information about the kde-freebsd mailing list