added SET(CMAKE_AUTOMOC TRUE)