What do "set" and "export" report from your MSYS prompt as the value of MXADataModel_INSTALL?<div><br></div><div>Is there a leftover CMake cache value for MXADataModel_INSTALL from before you set the env in your .bash_profile?<br>
<br></div><div>Perhaps something else does a SET(ENV{MXADataModel_INSTALL} "VS9 path") "for you"...?</div><div><br></div><div><br><div class="gmail_quote">On Fri, Feb 13, 2009 at 11:55 AM, Mike Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Not really sure if this is a CMake issue or and MSYS issue or "operator error" BUT when I run cmake -G "MSYS Makefiles" from an msys shell to configure my project there is one environment variable that is NOT being honored.<br>
The variable (MXADataModel_INSTALL) is defined in the "My Computer->Properties->.... " where I have it defined to C:\Developer\VS9\MXADataModel. Now, in my .bash_profile I redefine it to /c/Developer/GCC/MXADataModel.<br>
When I run cmake on my project I still get the "VS9" path. I have several other variables defined the same way (EXPAT, TIFF, HDF5, QT-4.4.3) and all those variables are over-ridden correctly and all those variables will use the "GCC" path instead of the "VS9" path when in an MSYS shell.<br>
I have checked the spelling, rewritten the .bash_profile a few different ways. I just don't "see" where I am screwing up for this one variable.<br>
Any help or places to look in my configurations would be helpful and very much appreciated.<br>
<br>
Thanks<br>
Mike Jackson<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>