Merge pull request #400 CMakr/meson Lint corrections from ninjaoflight/lint-corrections

This commit is contained in:
Sébastien Rombauts 2022-12-21 12:27:19 +01:00 committed by GitHub
commit 8716c52f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -301,7 +301,7 @@ endif (SQLITECPP_INTERNAL_SQLITE)
option(SQLITECPP_DISABLE_STD_FILESYSTEM "Disable the use of std::filesystem in SQLiteCpp." OFF)
if (SQLITECPP_DISABLE_STD_FILESYSTEM)
message (STATUS "Disabling std::filesystem support")
add_definitions(-DSQLITECPP_DISABLE_STD_FILESYSTEM)
target_compile_definitions(SQLiteCpp PUBLIC SQLITECPP_DISABLE_STD_FILESYSTEM)
endif (SQLITECPP_DISABLE_STD_FILESYSTEM)
# Link target with pthread and dl for Unix

View File

@ -119,7 +119,7 @@ endif
if get_option('SQLITE_HAS_CODEC')
sqlitecpp_args += [
'SQLITE_HAS_CODEC',
'-DSQLITE_HAS_CODEC',
]
endif