[Cmake] CMake Error: wxWindows

Jan Woetzel jw at mip . informatik . uni-kiel . de
Thu, 21 Aug 2003 19:33:02 +0200


Mathieu Malaterre wrote:

>     Does anyone knows what's wrong with FindwxWindows.cmake: 


> FindwxWindows.cmake:354:
>  STRING sub-command REGEX, mode MATCHALL needs at least 5 arguments ..

Hi Mathieu,

I couldn't test it before tuesday,
but I think  WX_CONFIG_LIBS is empty, so there aren't enough arguments.
I think it is empty because "wx-config --libs" returns an empty 
string/nothing.

Could you verify  for your configuration?

We should add catching this error case in FindwxWindows.cmake with a 
simple IF like in line 360.

Regards,
Jan.


--
Url   www.mip.informatik.uni-kiel.de/~jw