Use option() instead of set() for configuring usage of Boost, Qt, and TinyXML.

This way these defines can be controlled from the command-line and no manual editing of the CMakeLists.txt is required.