title: Cause CMAKE to generate an error
body: <p>How can I get CMAKE to generate an error on a particular condition.  That is, I want something like this:</p>
  
  <pre><code>if( SOME_COND )
    error( "You can't do that" )
  endif()
  </code></pre>