cmake CXX_HAS_ examples

drawpile/Drawpile cmake/DrawpileCompilerOptions.cmake :136

string(REPLACE "-W" "CXX_HAS_" flag_name ${flag_name})