Update to CMake 3.10 so that AUTOMOC scans generated files

Authored by vandenoever on Aug 5 2018, 12:42 PM.