[cmake-developers] [PATCH 2/3] wxWidgets module: Expect wxWidgets 3.1
Simon Richter
Simon.Richter at hogyros.de
Sun Sep 6 12:26:46 EDT 2015
Hi,
On 02.05.2015 09:43, Rolf Eike Beer wrote:
>> @@ -746,7 +750,7 @@ else()
>> # UNIX: Start actual work.
>> #-----------------------------------------------------------------
>> # Support cross-compiling, only search in the target platform.
>> - find_program(wxWidgets_CONFIG_EXECUTABLE wx-config wx-config-3.0
>> + find_program(wxWidgets_CONFIG_EXECUTABLE wx-config wx-config-3.0
>> wx-config-3.1 DOC "Location of wxWidgets library configuration provider
>> binary (wx-config)." ONLY_CMAKE_FIND_ROOT_PATH
>> )
> I would expect here (and probably at the other places, too), that you would
> not search for 3.1 if I specified "3.0 EXACT", or not search for 3.0 if I
> requested at least 3.1.
That is difficult -- find_program will use the first one it finds, and
there is no good way to return here from FPHSA.
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150906/ec494b85/attachment.sig>
More information about the cmake-developers
mailing list