Skip to content

Commit

Permalink
std17 for meson too
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Oct 10, 2024
1 parent a7e79e4 commit f0ce80c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('iaito', 'cpp',
default_options: 'cpp_std=c++20',
default_options: 'cpp_std=c++17',
meson_version: '>=0.50.0')

# default_options : [
Expand Down Expand Up @@ -73,7 +73,7 @@ if host_machine.system() == 'windows'
'../radare2/include/libr/sdb',
]
add_global_arguments('-D_WINDOWS', language:'cpp')
add_global_arguments('/std:c++20', language:'cpp')
add_global_arguments('/std:c++17', language:'cpp')
r2libdir = [
meson.current_source_dir() + '\\..\\radare2\\lib',
'C:\\radare2\\lib'
Expand Down

0 comments on commit f0ce80c

Please sign in to comment.