[CMake] Bug in FindwxWidgets.cmake

2013-09-25 Thread Michael DiCuccio
Hi! I've tripped across a bug in FindwxWidgets.cmake, in which (on Linux/Unix) paths returned by wxconfig will be modified if their path names contain a '-D'. The patch below fixes this. Can this please be applied? Thanks! --- FindwxWidgets.cmake.orig2013-09-25 10:34:52.835469000 -0400 +++

Re: [CMake] Bug in FindwxWidgets.cmake regarding MinGW

2008-02-28 Thread Werner Smekal
Hi Miguel, no problem about the time delay, I filed the bug report here: http://www.cmake.org/Bug/view.php?id=6478 Thanks, Werner On 28.02.2008, at 20:45, Miguel A. Figueroa-Villanueva wrote: On Thu, Feb 28, 2008 at 10:26 AM, Werner Smekal wrote: IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN

Re: [CMake] Bug in FindwxWidgets.cmake regarding MinGW

2008-02-28 Thread Miguel A. Figueroa-Villanueva
On Thu, Feb 28, 2008 at 10:26 AM, Werner Smekal wrote: > IF(WIN32) >SET(WIN32_STYLE_FIND 1) > ENDIF(WIN32) > IF(UNIX OR MSYS) >SET(UNIX_STYLE_FIND 1) > ENDIF(UNIX OR MSYS) > > I could file a bug report if necessary. > This all makes sense... However, I'm busy and since it might be a

Re: [CMake] Bug in FindwxWidgets.cmake regarding MinGW

2008-02-28 Thread Werner Smekal
Sorry, IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(UNIX OR MSYS) SET(UNIX_STYLE_FIND 1) ENDIF(UNIX OR MSYS) would be the correct (?) code. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria em

[CMake] Bug in FindwxWidgets.cmake regarding MinGW

2008-02-28 Thread Werner Smekal
Hi list, there is a bug in FindwxWidgets.cmake if using the MinGW compiler on Windows CLI (not in msys). At the top of FindwxWidgets.cmake we find IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(MINGW) SET(WIN32_STYLE_FIND 1) SET(UNIX_STYLE_FIND 0) ENDIF(MINGW) IF(UNIX) SET(UNIX_STYL