Add custom config for cmake.