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

BUG: build .lib instead of dll on windows

parent 761fef95
Pipeline #9193 canceled with stages
in 9 minutes and 12 seconds
......@@ -30,7 +30,10 @@ add_definitions(-DSQLITE_ENABLE_RTREE=1)
add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION=1)
add_definitions(-DSQLITE_THREADSAFE=1)
add_library(sqlite3 sqlite3.c)
if(WIN32)
add_library(sqlite3 STATIC sqlite3.c)
else()
add_library(sqlite3 sqlite3.c)
add_executable(sqlite3-bin shell.c sqlite3.c)
target_link_libraries(sqlite3-bin sqlite3)
......
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