Fix cmake resource