[CMake] a bug in FindwxWidgets.cmake, "linked with too many libraries by default under win32 platform"
Miguel A. Figueroa-Villanueva
miguelf at ieee.org
Wed Jun 17 12:08:30 EDT 2009
On Mon, Jun 15, 2009 at 10:42 PM, chen bin wrote:
> If I link my program with my own jpeg-6b and wxwidgets lib(use
> FindwxWidgets.cmake) under win32, the conflict of jpeg lib happens.
>
> It is because the line "SET(wxWidgets_COMMON_LIBRARIES png tiff jpeg
> zlib regex expat)" in FindwxWidgets.cmake
>
> I want to start a wxwidgets console program in a process, so the
> program's file size should be as small as possible.
>
> Here is my patch fixed the problem.
>
[...]
Please open a bug report at: http://www.cmake.org/Bug with the
contents of this message.
Thanks,
--Miguel
More information about the CMake
mailing list