Update CMakeLists.txt

fixed logical block
Merge pull request #11 from grimd34th/patch-5

Update CMakeLists.txt