diff options
author | Benjamin Schmithüsen <UX3D-schmithuesen> | 2019-04-11 12:26:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-11 13:04:53 +0300 |
commit | 4bad4bfc6ae5a81c44038cb1259f44befbb3afe0 (patch) | |
tree | 9b196d3ed0466406ba85441ea2314bedaeaea783 /extern/CMakeLists.txt | |
parent | a9d6356fee28d3567e956415a8eb08ab0bb7a0ab (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 'extern/CMakeLists.txt')
-rw-r--r-- | extern/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 2b18be71941..450f5e64351 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -41,6 +41,10 @@ if(WITH_BULLET) endif() endif() +if(WITH_DRACO) + add_subdirectory(draco) +endif() + # now only available in a branch #if(WITH_MOD_CLOTH_ELTOPO) # add_subdirectory(eltopo) |