applied cmake into Observer