[CMake] Adding to PATH

Robert Dailey rcdailey at gmail.com
Wed Mar 25 19:11:54 EDT 2009


Would this work?
        set( ENV{PATH} "ENV{PATH};${CMAKE_SOURCE_DIR}/tools/doxygen" )

On Wed, Mar 25, 2009 at 5:30 PM, Robert Dailey <rcdailey at gmail.com> wrote:

> Is there a way that I can temporarily add an executable search path to PATH
> for the Linux and Windows platforms? I temporarily wish to allow CMake to
> find certain third party command line applications so it may execute them.
> I'd be calling CMake's execute_process() function to do this. But this by no
> means should permanently change the PATH variable.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090325/4a1a06e8/attachment.htm>


More information about the CMake mailing list