fixed cmake file paths and added example