title: CMake problem of linking with headers included of the form <src/header.h>
body: <p>I quite new with CMake, but I have a problem with porting an existing library to it.
  In order to simplify, I will only work on 2 files : angle.cpp and angle.h.
  The files are this ones :</p>
  
  <pre><code>/cmaketest/CMakeLists
  /cmaketest/src/angle.cpp
  /cmaketest/src/angle.h
  </code></pre>
  
  <p>and I will run CMake and produce the Makefile in /cmaketest/.</p>
  
  <p>My CMakeLists is currently this one :</p>
  
  <pre><code>CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
  PROJECT(cmaketest)
  
  SET(cmaketest_SRCDIR src)
  AUX_SOURCE_DIRECTORY(${cmaketest_SRCDIR} cmaketest_SOURCES)
  FILE(GLOB cmaketest_HEADERS ${cmaketest_SRCDIR}/*.h )
  
  ADD_EXECUTABLE(cmaketest ${cmaketest_SOURCES} ${cmaketest_HEADERS})
  </code></pre>
  
  <p>But the problem is that in angle.cpp, the header is included not by <code>"angle.h"</code> but by <code>&lt;src/angle.h&gt;</code></p>
  
  <p>So with the current cmake file I got the following error when I execute make :</p>
  
  <blockquote>
    <p>/cmaketest/src/angle.cpp:1:23: fatal error: src/angle.h: file not found</p>
  </blockquote>
  
  <p>How to solve the problem ? (for backward compatibility I can't modify <code>&lt;src/angle.h&gt;</code> in the .cpp file)</p>
  
  <p>Thank you very much.</p>