CMake 构建google-cloud-cpp
失败并出现以下错误:
$ cmake -H. -Bcmake-out
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at google/cloud/storage/CMakeLists.txt:17 (find_package):
Could not find a package configuration file provided by
"google_cloud_cpp_common" with any of the following names:
google_cloud_cpp_commonConfig.cmake
google_cloud_cpp_common-config.cmake
Add the installation prefix of "google_cloud_cpp_common" to
CMAKE_PREFIX_PATH or set "google_cloud_cpp_common_DIR" to a directory
containing one of the above files. If "google_cloud_cpp_common" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!