remove dead code from main CMakeLists.txt.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>