Commit c8a269ba authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

BUG: on windows pthread is not present for sqlite so disable threadsafe option

parent cdd81207
Pipeline #9223 failed with stages
in 126 minutes and 47 seconds
......@@ -28,7 +28,11 @@ include_directories("${CMAKE_SOURCE_DIR}")
add_definitions(-DSQLITE_ENABLE_COLUMN_METADATA=1)
add_definitions(-DSQLITE_ENABLE_RTREE=1)
add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION=1)
add_definitions(-DSQLITE_THREADSAFE=1)
if(WIN32)
add_definitions(-DSQLITE_THREADSAFE=0)
else()
add_definitions(-DSQLITE_THREADSAFE=1)
endif()
if(WIN32)
add_library(sqlite3 STATIC sqlite3.c)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment