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


Attachment: signature.asc
Description: OpenPGP digital signature

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to