diff --git a/py/CMakeLists.txt b/py/CMakeLists.txt index d79f32a..3ecf13b 100644 --- a/py/CMakeLists.txt +++ b/py/CMakeLists.txt @@ -27,7 +27,7 @@ if(CCACHE_BIN) endif() if (MSVC) - set(PYBIND11_CPP_STANDARD /std:c++latest) + set(PYBIND11_CPP_STANDARD /std:c++17) else() set(PYBIND11_CPP_STANDARD -std=c++17) endif()