mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 10:16:01 -04:00
Merge pull request #22 from mc-server/NoInternalLib
Added option SQLITECPP_INTERNAL_SQLITE.
This commit is contained in:
commit
90e0c4ec4d
@ -115,10 +115,13 @@ endif (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL
|
||||
|
||||
# SQLite3 library (Windows only)
|
||||
|
||||
option (SQLITECPP_INTERNAL_SQLITE "Add the internal SQLite3 source to the project." ON)
|
||||
if (WIN32)
|
||||
# build the SQLite3 C library for Windows (for ease of use) versus Linux sqlite3-dev package
|
||||
add_subdirectory(sqlite3)
|
||||
include_directories("${PROJECT_SOURCE_DIR}/sqlite3")
|
||||
if (SQLITECPP_INTERNAL_SQLITE)
|
||||
# build the SQLite3 C library for Windows (for ease of use) versus Linux sqlite3-dev package
|
||||
add_subdirectory(sqlite3)
|
||||
include_directories("${PROJECT_SOURCE_DIR}/sqlite3")
|
||||
endif (SQLITECPP_INTERNAL_SQLITE)
|
||||
endif (WIN32)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user