add message to cmake
This commit is contained in:
parent
481aca380e
commit
66bf301b9b
1 changed files with 3 additions and 1 deletions
|
@ -528,12 +528,14 @@ if(USE_SYSTEM_SQLITE)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "System SQLite3 not detected. Set USE_SYSTEM_SQLITE=OFF if you want to build with bundled SQLite3.")
|
message(FATAL_ERROR "System SQLite3 not detected. Set USE_SYSTEM_SQLITE=OFF if you want to build with bundled SQLite3.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
else()
|
else()
|
||||||
|
message(STATUS "Using bundled SQLite3.")
|
||||||
|
|
||||||
list(APPEND SOURCES
|
list(APPEND SOURCES
|
||||||
3rd-party/sqlite/sqlite3.c
|
3rd-party/sqlite/sqlite3.c
|
||||||
3rd-party/sqlite/sqlite3.h
|
3rd-party/sqlite/sqlite3.h
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1")
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue