Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/build_environment/cmake/sqlite.cmake')
-rw-r--r--build_files/build_environment/cmake/sqlite.cmake17
1 files changed, 15 insertions, 2 deletions
diff --git a/build_files/build_environment/cmake/sqlite.cmake b/build_files/build_environment/cmake/sqlite.cmake
index 002be924a50..a77d3830b45 100644
--- a/build_files/build_environment/cmake/sqlite.cmake
+++ b/build_files/build_environment/cmake/sqlite.cmake
@@ -42,8 +42,21 @@ if(UNIX)
-DSQLITE_MAX_VARIABLE_NUMBER=250000 \
-fPIC")
set(SQLITE_CONFIGURE_ENV ${SQLITE_CONFIGURE_ENV} && export LDFLAGS=${SQLITE_LDFLAGS} && export CFLAGS=${SQLITE_CFLAGS})
- set(SQLITE_CONFIGURATION_ARGS ${SQLITE_CONFIGURATION_ARGS} --enable-threadsafe --enable-load-extension --enable-json1 --enable-fts4 --enable-fts5 --disable-tcl
- --enable-shared=no)
+ set(SQLITE_CONFIGURATION_ARGS
+ ${SQLITE_CONFIGURATION_ARGS}
+ --enable-threadsafe
+ --enable-load-extension
+ --enable-json1
+ --enable-fts4
+ --enable-fts5
+ # While building `tcl` is harmless, it causes problems when the install step
+ # tries to copy the files into the system path.
+ # Since this isn't required by Python or Blender this can be disabled.
+ # Note that Debian (for example), splits this off into a separate package,
+ # so it's safe to turn off.
+ --disable-tcl
+ --enable-shared=no
+ )
endif()
ExternalProject_Add(external_sqlite