<div>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&#39;d be calling CMake&#39;s execute_process() function to do this. But this by no means should permanently change the PATH variable.</div>