Update CMakeLists.txt generator.

Update the CMakeLists.txt generator to use the latest style from
Wireshark.