Uh, why are you talking about STREQUAL when the problem is with set(baz foo)? It should set baz to "foo" not "bar" because there are no ${} around foo. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.cmake.org/pipermail/cmake/attachments/20130214/8e5e268d/attachment.htm>