mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Added option SQLITECPP_INTERNAL_SQLITE.
This makes it possible to disable the internal sqlite library for builds that already get the library from elsewhere.
This commit is contained in:
parent
eea90c70e4
commit
27b9d11181
@ -115,10 +115,13 @@ endif (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL
|
|||||||
|
|
||||||
# SQLite3 library (Windows only)
|
# SQLite3 library (Windows only)
|
||||||
|
|
||||||
|
option (SQLITECPP_INTERNAL_SQLITE "Add the internal SQLite3 source to the project." ON)
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
if (SQLITECPP_INTERNAL_SQLITE)
|
||||||
# build the SQLite3 C library for Windows (for ease of use) versus Linux sqlite3-dev package
|
# build the SQLite3 C library for Windows (for ease of use) versus Linux sqlite3-dev package
|
||||||
add_subdirectory(sqlite3)
|
add_subdirectory(sqlite3)
|
||||||
include_directories("${PROJECT_SOURCE_DIR}/sqlite3")
|
include_directories("${PROJECT_SOURCE_DIR}/sqlite3")
|
||||||
|
endif (SQLITECPP_INTERNAL_SQLITE)
|
||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user