very messy CMakeLists update. The project builds, nevertheless.
CMake configuration process simplified