Skip to content

Commit f3de1fc

Browse files
committed
Add sqlite3 as local dependent package
Omit loading extensions, we don't need that functionality. sqlite3 consists of a C file not C++.
1 parent 394c56a commit f3de1fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ if (CMAKE_SYSTEM MATCHES "Darwin")
8484
set(EXTRA_LIBS ${CORESERVICES_LIB})
8585
endif()
8686

87-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSQLITE_OMIT_LOAD_EXTENSION=1")
87+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DSQLITE_OMIT_LOAD_EXTENSION=1")
88+
8889
if (WIN32)
8990
if (MSVC)
9091
if (NOT ICONV_DIR)

0 commit comments

Comments
 (0)