fixed cmake variable matching
Merge pull request #133 from fluffypony/master

fixed cmake variable matching