moved to cmake