[CMake] Fwd: Problem with string( FIND xxx ) in cygwin

Renato Utsch renatoutsch at gmail.com
Tue Dec 20 12:34:40 EST 2011


Is there any substitute that could enable me to find a substring in a
determinated string? Because I need to support 2.8.4 because of
Cygwin...

Renato

2011/12/20 Renato Utsch <renatoutsch at gmail.com>:
> Ah, ok, thanks.
>
> Renato
>
> 2011/12/20 David Cole <david.cole at kitware.com>:
>> The FIND subcommand for the string command was introduced in CMake
>> 2.8.5 as a result of this bug fix:
>>
>>  http://public.kitware.com/Bug/view.php?id=11795
>>
>>
>> It does not exist in 2.8.4...
>>
>>
>> On Tue, Dec 20, 2011 at 7:53 AM, Renato Utsch <renatoutsch at gmail.com> wrote:
>>> I am using CMake 2.8.4 in cygwin (the version that comes with
>>> setup.exe), but it doesn't recognize the string( FIND <...> ) command,
>>> although it works in linux and windows very well.
>>>
>>> Is there any library I need to install in cygwin to make this work or
>>> the build from them is not working?
>>>
>>>
>>> Renato
>>> --
>>>
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list