mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 10:16:01 -04:00
Re-enable SQLITE_ENABLE_COLUMN_METADATA by default under Windows
This commit is contained in:
parent
f407e4e469
commit
7e16e8545f
@ -14,12 +14,16 @@ if (WIN32)
|
|||||||
set(DEV_NULL "NUL")
|
set(DEV_NULL "NUL")
|
||||||
# build the SQLite3 C library for Windows (for ease of use)
|
# build the SQLite3 C library for Windows (for ease of use)
|
||||||
set(SQLITECPP_INTERNAL_SQLITE_DEFAULT ON)
|
set(SQLITECPP_INTERNAL_SQLITE_DEFAULT ON)
|
||||||
set(SQLITE_ENABLE_COLUMN_METADATA_DEFAULT OFF)
|
set(SQLITE_ENABLE_COLUMN_METADATA_DEFAULT ON)
|
||||||
else (WIN32)
|
else (WIN32) # UNIX
|
||||||
set(DEV_NULL "/dev/null")
|
set(DEV_NULL "/dev/null")
|
||||||
# do not build the SQLite3 C library, but uses the Linux/Mac OS X sqlite3-dev package
|
# do not build the SQLite3 C library, but uses the Linux/Mac OS X sqlite3-dev package
|
||||||
set(SQLITECPP_INTERNAL_SQLITE_DEFAULT OFF)
|
set(SQLITECPP_INTERNAL_SQLITE_DEFAULT OFF)
|
||||||
|
if (APPLE)
|
||||||
|
set(SQLITE_ENABLE_COLUMN_METADATA_DEFAULT OFF)
|
||||||
|
else (APPLE)
|
||||||
set(SQLITE_ENABLE_COLUMN_METADATA_DEFAULT ON)
|
set(SQLITE_ENABLE_COLUMN_METADATA_DEFAULT ON)
|
||||||
|
endif (APPLE)
|
||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
# then Compiler/IDE differences:
|
# then Compiler/IDE differences:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user