On 9/30/2014 8:35 AM, Richard Shaw wrote: > On Tue, Sep 30, 2014 at 7:28 AM, Wayne Stambaugh <[email protected] > <mailto:[email protected]>> wrote: > > > find_package( wxWidgets 3.0.0 COMPONENTS gl aui adv html core net base > xml REQUIRED ) > > will still find wxWidgets even if the version is 2.8.12. There are some > other problems with cross building that we fixed as well. I've recently > added the version checks so that I could force the version of wxWidgets > to 3 or greater for building KiCad. > > > I recently took over maintainer-ship of the FindwxWidgets.cmake module > so if you'd like to see about incorporating your changes upstream please > feel free to contact me directly. > > In all likelihood though, any updates would probably not be released > upstream until CMake 3.1 > > In the project I use wxWidgets for I just check for the version manually > via execute_process and using the wx-config script, however, this would > only work for *nix systems (or msys/cygwin). Does your script have an > OS-agnostic method?
Yes. Assuming wxWidgets is found using either with wx-conf or without wx-conf, the version file found in the include path(s) is parsed with a regular expression to determine the version string and then find_package_handle_standard_args() is called to confirm the required version. Once I get the MSYS2 issue resolved, I will send you a patch with the changes. So far my version changes have been tested on MSYS1, Linux (Debian Jesse), and OSX. I know it works because I've been getting a lot of complaints about not being able to build KiCad against wxWidgets 2.8.12 :). Ahh, the joys of being an open source project leader. > > > Thanks, > Richard > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Msys2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/msys2-users > ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
