set(var [[${foo}]]) cmake_language(CALL cmake_language CALL message "var='${var}'")