diff --git a/meson.build b/meson.build
index ba671d6781038dfca66f4ec9cfacc4accdd3ca18..68dd38adcd6a0d936870fc190af052ee7b8d36c0 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('txt2pcd', 'cpp', default_options: ['cpp_std=c++2a'])
+project('txt2pcd', 'cpp', default_options: ['cpp_std=c++17'])
 
 pcl_version = get_option('pcl_version')
 
diff --git a/meson_options.txt b/meson_options.txt
index 9d921afc4dc8e3225c93f71d26ed58c096acc518..aafb14d4dfabfba7cd8f9f98d9ce76f264344dc6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1 +1 @@
-option('pcl_version', type: 'string', value: '1.9', description : 'Set the pointclouds library version to link')
+option('pcl_version', type: 'string', value: '1.12', description : 'Set the pointclouds library version to link')