Gregory C. Sharp wrote:
I found this little tidbit in the FAQ:
[E]nvironment variables SET in the CMakeLists.txt only take
effect for cmake itself, so you cannot use this method to set
an environment variable that a custom command might need.
I would like to augment the path during a custom command.
Is there a suggested workaround?
Run a cmake script in the custom command that runs the program via
execute_process.
-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake