mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 22:56:19 +01:00
Set SQLite thread safe mode when building unbundled
This commit is contained in:
parent
6ef3f95baf
commit
a84744326f
@ -44,7 +44,10 @@ target_include_directories(DataSQLite
|
|||||||
|
|
||||||
if(POCO_UNBUNDLED)
|
if(POCO_UNBUNDLED)
|
||||||
target_link_libraries(DataSQLite PUBLIC SQLite::SQLite3)
|
target_link_libraries(DataSQLite PUBLIC SQLite::SQLite3)
|
||||||
target_compile_definitions(DataSQLite PUBLIC POCO_UNBUNDLED)
|
target_compile_definitions(DataSQLite PUBLIC
|
||||||
|
POCO_UNBUNDLED
|
||||||
|
SQLITE_THREADSAFE=1
|
||||||
|
)
|
||||||
else()
|
else()
|
||||||
if(WINCE)
|
if(WINCE)
|
||||||
target_compile_definitions(DataSQLite PRIVATE SQLITE_MSVC_LOCALTIME_API)
|
target_compile_definitions(DataSQLite PRIVATE SQLITE_MSVC_LOCALTIME_API)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user