title: Command line tools not accessible from Eclipse on OSX
body: <p>I am using Eclipse on a macOS machine. CMake is present on my machine at <code>/usr/local/bin/cmake</code> and has been installed using Homebrew. Eclipse is at the latest version (2018-09).</p>
  
  <p>I have the following target in a Makefile, which has been set up and is visible from Eclipse:</p>
  
  <pre><code>all:
      ./configure
      Rscript -e "Rcpp::compileAttributes()"
      R CMD INSTALL --no-multiarch --with-keep.source .
  </code></pre>
  
  <p>Inside the <code>configure</code> file, there is this code:</p>
  
  <pre><code>cd src/build;cmake ..
  </code></pre>
  
  <p>However, when I double click the <code>all</code> target in Eclipse, I get the following message:</p>
  
  <pre><code>make all
  ./configure
  ./configure: line 1: cmake: command not found
  make: *** [all] Error 127
  </code></pre>
  
  <p>I remember that some time ago this target worked out of the box on macOS. I can also launch CMake from a terminal without any trouble.</p>
  
  <p><code>echo $PATH</code> shows different behaviour:</p>
  
  <ul>
  <li>If called from a standard macOS terminal, it yields <code>/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin</code></li>
  <li>If called from a TM Terminal inside Eclipse, it yields <code>/usr/bin:/bin:/usr/sbin:/sbin</code></li>
  </ul>
  
  <p>What is the most canonical way to have Eclipse detect my CMake installation ?</p>