[CMake] CMake 2.6 Gui App not picking up environment variables

David Cole david.cole at kitware.com
Fri Mar 28 11:57:32 EDT 2008


You can launch it from a shell that has the env set :
open /Applications/..../cmake-gui.app

Or follow the directions here to set env vars for all your GUI apps in Mac
OSX:
http://developer.apple.com/documentation/MacOSX/Conceptual/OSX_Technology_Overview/CommandLine/chapter_950_section_4.html


On Fri, Mar 28, 2008 at 11:45 AM, Bill Hoffman <bill.hoffman at kitware.com>
wrote:

> Mike Jackson wrote:
> > In testing CMakeGui.app the first problem I ran across was its inability
> > to pick up environment variables I have set in my .bash_profile file. Is
> > there a way to tell the gui app to look at that file for environment
> > variables?
> >
> > While not directly a cmake issue, I was wondering if anyone else had
> > come across this issue and how they solved it.
> >
>
> I am guessing you would have to set those variables somewhere else for
> them to be in the system.  I am not sure how a mac works, what
> environment does the windowing system run in?  Can you set variables for
> that environment?
>
> -Bill
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080328/ac68afb2/attachment-0003.htm>


More information about the CMake mailing list