From 2d825e96b359c44bd8ea93f1c0c678037ab8bfc5 Mon Sep 17 00:00:00 2001 From: Benoit Bovy Date: Thu, 20 Oct 2022 09:20:11 +0200 Subject: [PATCH] Use C++11 standard on windows https://github.com/conda-forge/abseil-cpp-feedstock/issues/45#issuecomment-1236384709 Or should we only depend on libabseil here? --- recipe/bld.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/bld.bat b/recipe/bld.bat index 8a8311e..ea3565e 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -2,7 +2,7 @@ mkdir build_cpp cd build_cpp cmake %SRC_DIR% -G "NMake Makefiles" ^ - -DCMAKE_CXX_STANDARD=17 ^ + -DCMAKE_CXX_STANDARD=11 ^ -DCMAKE_PREFIX_PATH="%PREFIX%" ^ -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ -DCMAKE_BUILD_TYPE=Release ^