changed to cmake