Oops. I misread your reply (too fast)... Bill is right.<br><br>To set an env var for your executables, you&#39;ll need to write code that does it yourself. <br><br><br><div><span class="gmail_quote">On 10/30/07, <b class="gmail_sendername">
Bill Hoffman</b> &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Mark Wyszomierski wrote:<br>&gt; Hi David,<br>&gt;<br>&gt; I&#39;m new to linux, do you mean that setting the env var like that<br>&gt; through CMake will only affect my executables during run time- in<br>&gt; other words the env var is only set for my exes? That&#39;s fine and what
<br>&gt; I need -<br>&gt;<br><br>They will only be set during cmake time.&nbsp;&nbsp;Cmake runs, creates makefiles,<br>or projects, and then it is gone.&nbsp;&nbsp;There is no way for it to set<br>environment variables that last longer than the cmake run.
<br><br>-Bill<br></blockquote></div><br>