about summary refs log tree commit diff
path: root/third_party/glog/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/glog/default.nix')
-rw-r--r--third_party/glog/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/third_party/glog/default.nix b/third_party/glog/default.nix
index cebb71c290d4..575821cb49d6 100644
--- a/third_party/glog/default.nix
+++ b/third_party/glog/default.nix
@@ -7,7 +7,10 @@ in llvmPackages.libcxxStdenv.mkDerivation {
   src = ./.;
 
   nativeBuildInputs = [ cmake ];
-  cmakeFlags = [ "-WITH_GFLAGS=OFF" ];
+  cmakeFlags = [
+    "-DCMAKE_CXX_STANDARD=17"
+    "-WITH_GFLAGS=OFF"
+  ];
 
   meta = with lib; {
     homepage = "https://github.com/google/glog";