Skip to content

Commit c4b8105

Browse files
committed
Fix broken Meson build when SQLITECPP_DISABLE_STD_FILESYSTEM is set
The option branch appended to an undefined sqlitecpp_cxx_flags variable, so Meson erred out instead of defining the macro. Append to sqlitecpp_args like every other option branch, so the flag actually reaches the compiler.
1 parent 4ee4be1 commit c4b8105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ endif
129129

130130
## C++17 disable the support for std::filesystem (by default off)
131131
if get_option('SQLITECPP_DISABLE_STD_FILESYSTEM')
132-
sqlitecpp_cxx_flags += ['-DSQLITECPP_DISABLE_STD_FILESYSTEM']
132+
sqlitecpp_args += ['-DSQLITECPP_DISABLE_STD_FILESYSTEM']
133133
endif
134134

135135
## get the user option for the SQLITECPP_DISABLE_SQLITE3_EXPANDED_SQL

0 commit comments

Comments
 (0)