diff --git a/setup.py b/setup.py
index cfa265bf529fbc65f7fb736ae73c637598687251..34a97c7e5b2df5e7caa9b448c8fb5c14ae84bac3 100644
--- a/setup.py
+++ b/setup.py
@@ -33,6 +33,7 @@ ext_modules = [
             *deps_include_dirs
         ],
         language='c++',
+        cxx_std=17,
         define_macros=[('VERSION_INFO', __version__)]
     ),
 ]