[CMake] Setting environment variable to execute_process

Łukasz Tasz lukasz at tasz.eu
Mon Aug 1 12:08:53 EDT 2011


Hi,

I would like to execute process, during cmake phase, but I need to
tune LD_LIBRARY_PATH a little,

I would like to get something like:

execute_proccess(COMMAND LD_LIBRARY_PATH=my_path my_proccess
ERROR_VARIABLE _error)

Unfornately command above is not working...
I'm using cmake 2.6

thanks for any clues,
Lukasz

-- 
Lukasz Tasz


More information about the CMake mailing list