[Cmake] cmMakefile::ExpandVariablesInString (ex: DART_ROOT)

Sebastien BARRE sebastien at barre.nom.fr
Sat Aug 18 12:55:05 EDT 2001


At 17/08/2001 15:41, Sebastien BARRE wrote:

>This would require a very small change in 
>cmMakefile::ExpandVariablesInString()

Done.

>To avoid potentially dangerous solution were an env var would "override" a 
>Cmake var, we could also use a slightly different syntax to require an 
>explicit reference to an env var : $ENV{DART_ROOT}

This is what I've implemented.

>Then, we could just modify FindDart.cmake like this :
>
>FIND_PATH(DART_ROOT README.INSTALL
>     $ENV{DART_ROOT}
>   [...]
>     )

Done.





More information about the CMake mailing list