How can I perform a case-insensitive string comparison? I basically need to 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 ) )
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
