title: CMake's STREQUAL not working
body: <p>According to the CMake documentation, the <code>STREQUAL</code> comparison is allowed to take either a VARIABLE or a STRING as either parameter. So, in this example below, the message does NOT print, which is broken:</p>
  
  <pre><code>set( FUBARTEST "OK" )
  if( FUBARTEST STREQUAL "OK" )
      message( "It Worked" )
  endif()
  </code></pre>
  
  <p>Any reason why this isn't working as documented?</p>