How can I perform a case-insensitive string comparison? I basically need to do this:<div><br></div><div>set( file "Makefile" )</div><div>if( file STREQUAL "makefile" )</div><div> ....</div><div>endif()</div>
<div><br></div><div>The above condition should PASS, since I want to ignore case, but as of right now it seems STREQUAL is case-sensitive. I need to do this without mutating either operand (i.e. i can't use string( TOLOWER ) )</div>