about summary refs log tree commit diff
path: root/third_party/abseil_cpp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/abseil_cpp/default.nix')
-rw-r--r--third_party/abseil_cpp/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/abseil_cpp/default.nix b/third_party/abseil_cpp/default.nix
index ec2e996d6a45..849bbbc9d51d 100644
--- a/third_party/abseil_cpp/default.nix
+++ b/third_party/abseil_cpp/default.nix
@@ -7,6 +7,10 @@ in llvmPackages.libcxxStdenv.mkDerivation rec {
   src = ./.;
   nativeBuildInputs = [ cmake ];
 
+  cmakeFlags = [
+    "-DCMAKE_CXX_STANDARD=17"
+  ];
+
   meta = with lib; {
     description = "An open-source collection of C++ code designed to augment the C++ standard library";
     homepage = https://abseil.io/;