title: How to set CMake search paths
body: <p>In my CMakeLists.txt    </p>
  
  <pre><code>include (CheckFunctionExists.cmake)
  </code></pre>
  
  <p>When I run <code>ccmake</code> (I am following the official <a href="http://www.cmake.org/cmake/help/cmake_tutorial.html" rel="nofollow">tutorial</a>)</p>
  
  <pre><code> CMake Error at CMakeLists.txt:10 (include):
     include could not find load file:
  
       CheckFunctionExists.cmake
  </code></pre>
  
  <p>However, I <em>have</em> the file specified:</p>
  
  <pre><code>sw3@pc90313-sw3:~/learn_cmake/build$ find / -name CheckFunctionExists.cmake 2&gt;/dev/null
  /usr/share/cmake-2.8/Modules/CheckFunctionExists.cmake
  </code></pre>
  
  <p>I am using a cmake installation form the Ubuntu 13.04 repository:</p>
  
  <pre><code>sw3@pc90313-sw3:~/learn_cmake/build$ cmake --version
  cmake version 2.8.10.1
  </code></pre>
  
  <hr>
  
  <p>If the absolute path is specified, everything works out well and a working makefile is generated. However, this workaround is far from ideal (and diverges from the tutorial). Where could the problem be?</p>