[CMake] Case-insensitive string compare
www.mail-archive.com › cmake@cmake › msg42407How can I perform a case-insensitive string comparison? do this: set( file "Makefile" ) if( file STREQUAL "makefile" ) .... endif() 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 ) ) --