CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY g++: fatal error: Terminated signal terminated program cc1plus compilation terminated. make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field.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/java/java_string_field_lite.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/js/js_generator.cc.o] Error 1 make[1]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/all] Error 2 make: *** [all] Error 2 ERROR: Exiting with code: 5