philip.pfaffe added a comment. The fix looks alright, but did you test it with CMAKE_BUILD_TYPE set though? It's hard to parse with the naked eye, but it looks like you're missing at least a $ there. Repository: rPLO Polly https://reviews.llvm.org/D53376