CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY protobuf_BUILD_LIBPROTOC g++: fatal error: Terminated signal terminated program cc1plus compilation terminated. make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_generator.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... g++: fatal error: Terminated signal terminated program cc1plus compilation terminated. make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc.o] Error 1 g++: fatal error: Terminated signal terminated program cc1plus compilation terminated. make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_file.cc.o] Error 1 make[1]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/all] Error 2 make: *** [all] Error 2 ERROR: Exiting with code: 5