google-cloud-cpp: build with CMAKE_CXX_STANDARD=17

This commit is contained in:
Phillip Cloud 2022-11-11 07:09:07 -05:00
parent a05f2f2053
commit a3cb8c8736
No known key found for this signature in database
GPG Key ID: D908212070FD785E

View File

@ -117,6 +117,7 @@ stdenv.mkDerivation rec {
# this adds a good chunk of time to the build
"-DBUILD_TESTING:BOOL=ON"
"-DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES:BOOL=OFF"
"-DCMAKE_CXX_STANDARD=17"
] ++ lib.optionals (apis != [ "*" ]) [
"-DGOOGLE_CLOUD_CPP_ENABLE=${lib.concatStringsSep ";" apis}"
];