Skip to content
Snippets Groups Projects
Commit 9b255b79 authored by Andreas Schenk's avatar Andreas Schenk
Browse files

removed SQLITE_OMIT_LOAD_EXTENSION from config for Windows to fix missing

symbols durint link stage
parent 0866dc93
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,9 @@ sqlite3.c
module(NAME db SOURCES ${OST_DB_SOURCES} HEADERS ${OST_DB_HEADERS}
DEPENDS_ON ost_base)
add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION)
if(WIN32)
set_target_properties(ost_db PROPERTIES LINK_FLAGS "/DEF:sqlite3.def")
add_definitions(/DSQLITE_ENABLE_COLUMN_METADATA)
else(WIN32)
add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION)
endif(WIN32)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment