[CMake] Fw: STRING - REGEX REPLACE use

Andy Cedilnik andy.cedilnik at kitware.com
Thu Dec 9 09:23:17 EST 2004


Hi Troels,

To prevent that, you can always put text or variable in quotes. That way
it will be treated as an empty argument.

       Andy

Troels Frimor wrote:

> Hi again,
>
> I think that if it is asking for a sixth parameter, it could be caused
> by your 'var_in' parameter is empty. That is, if it is a variable that
> has never been set, since the STRING REPLACE can also take empty strings.
>
> With regards,
> Troels
>
> Benoit Regrain wrote:
>
>> Hi,
>> Thanks Troels,
>>
>> But CMake say me that it needs 6 arguments for STRING(REGEX REPLACE
>> What must be this the 6th parameter ?
>



More information about the CMake mailing list