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:
authorBenjamin Schmithüsen <UX3D-schmithuesen>2019-04-11 12:26:23 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-11 13:04:53 +0300
commit4bad4bfc6ae5a81c44038cb1259f44befbb3afe0 (patch)
tree9b196d3ed0466406ba85441ea2314bedaeaea783 /CMakeLists.txt
parenta9d6356fee28d3567e956415a8eb08ab0bb7a0ab (diff)
glTF: add Draco shared library for mesh compression.
Draco is added as a library under extern/ and builds a shared library that is installed into the Python site-packages. This is then loaded by the glTF add-on to do mesh compression. Differential Revision: https://developer.blender.org/D4501
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94e05a21f5e..7cec28f0e10 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -344,6 +344,7 @@ option(WITH_LZMA "Enable best LZMA compression, (used for pointcache)"
if(UNIX AND NOT APPLE)
option(WITH_SYSTEM_LZO "Use the system LZO library" OFF)
endif()
+option(WITH_DRACO "Enable Draco mesh compression Python module (used for glTF)" ON)
# Camera/motion tracking
option(WITH_LIBMV "Enable Libmv structure from motion library" ON)
@@ -636,6 +637,7 @@ endif()
if(NOT WITH_PYTHON)
set(WITH_CYCLES OFF)
+ set(WITH_DRACO OFF)
endif()
# enable boost for cycles, audaspace or i18n