We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 643b153 + e3ddbd9 commit 211e642Copy full SHA for 211e642
sqlite3/CMakeLists.txt
@@ -44,6 +44,11 @@ if (SQLITE_ENABLE_DBSTAT_VTAB)
44
message(STATUS "Compile sqlite3 with SQLITE_ENABLE_DBSTAT_VTAB")
45
endif (SQLITE_ENABLE_DBSTAT_VTAB)
46
47
+if (SQLITE_OMIT_LOAD_EXTENSION)
48
+ target_compile_definitions(sqlite3 PUBLIC SQLITE_OMIT_LOAD_EXTENSION)
49
+ message(STATUS "Compile sqlite3 with SQLITE_OMIT_LOAD_EXTENSION")
50
+endif (SQLITE_OMIT_LOAD_EXTENSION)
51
+
52
if (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang"))
53
set_target_properties(sqlite3 PROPERTIES COMPILE_FLAGS "-fPIC")
54
0 commit comments