mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-06 10:46:03 -04:00
commit
211e642a30
@ -44,6 +44,11 @@ if (SQLITE_ENABLE_DBSTAT_VTAB)
|
||||
message(STATUS "Compile sqlite3 with SQLITE_ENABLE_DBSTAT_VTAB")
|
||||
endif (SQLITE_ENABLE_DBSTAT_VTAB)
|
||||
|
||||
if (SQLITE_OMIT_LOAD_EXTENSION)
|
||||
target_compile_definitions(sqlite3 PUBLIC SQLITE_OMIT_LOAD_EXTENSION)
|
||||
message(STATUS "Compile sqlite3 with SQLITE_OMIT_LOAD_EXTENSION")
|
||||
endif (SQLITE_OMIT_LOAD_EXTENSION)
|
||||
|
||||
if (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang"))
|
||||
set_target_properties(sqlite3 PROPERTIES COMPILE_FLAGS "-fPIC")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user