Update CMakeLists.txt

This probably will still fail on a lot of systems, but it works locally, so hey. I use this to make cataclysm work with qt creator, in the hope that this'll improve my efficiency a little.