title: Cmake ignoring CMAKE_BUILD_TYPE=Debug
body: <p>I am trying to include debug/release dependent compiler flags, such as:</p>
  
  <pre><code>set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x -Wall -DUSE_BOOST")
  set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall")
  set(CMAKE_CSS_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -O3")
  </code></pre>
  
  <p>I create my build folder with a command such as:</p>
  
  <pre><code>cmake -DCMAKE_BUILD_TYPE=Release -D UseFortran=True -D CMAKE_CXX_COMPILER=g++-4.6 ~/repos/cliques/cliques
  </code></pre>
  
  <p>However it seems with CMAKE version 2.8.7, CMAKE_BUILD_TYPE is being ignored.  It seems to work perfectly with version 2.8.4 (on a different machine), so has this method been deprecated or is there some other problem here?</p>
  
  <p>Zenna</p>