Skip to content
Snippets Groups Projects
Commit 3a4a1085 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Link against specific sqlite3 library.

parent 6ad8103a
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ extract_data_helper.cc
)
module(NAME db SOURCES ${OST_DB_SOURCES} HEADERS ${OST_DB_HEADERS}
DEPENDS_ON ost_base ost_geom ost_seq LINK sqlite3)
DEPENDS_ON ost_base ost_geom ost_seq LINK ${SQLITE3_LIBRARIES})
if(WIN32)
set_target_properties(ost_db PROPERTIES LINK_FLAGS "/DEF:${CMAKE_CURRENT_SOURCE_DIR}/sqlite3.def")
add_definitions(/DSQLITE_ENABLE_COLUMN_METADATA)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment