<html><body><div>Hello,<br><br>in an example i saw that CTEST_ENVIRONMENT is used to set specific paths.<br>I tried the same in my CTestScript, but this doesn't work. Can anybody explain me why variant 1 is working and variant 2 is not?<br><br>1.Variant:<br><span style="font-family: courier new,monospace; font-size: 12px;">set(ENV{QTDIR} "C:\\Qt")</span><br><span style="font-family: courier new,monospace; font-size: 12px;">set(ENV{PATH} "$ENV{QTDIR};$ENV{QTDIR}\\bin;$ENV{PATH}")</span><br><br>2.Variant:<br><span style="font-family: courier new,monospace; font-size: 12px;">set(CTEST_ENVIRONMENT "QTDIR=C:\\Qt"</span><br><span style="font-family: courier new,monospace; font-size: 12px;"> "PATH=%QTDIR%\;%QTDIR%\\bin\;%PATH%"</span><br><span style="font-family: courier new,monospace; font-size: 12px;">)</span><br><br>Thanks in advance<br><br>Best Regards<br>NoRulez<br data-mce-bogus="1"></div></body></html>