added cmake stuff more stacktrace