added support for an app cmake build.