Remove duplicated set(CMAKE_AUTOMOC ON)