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:
authorJim Eckerlein <UX3D-eckerlein>2020-12-07 17:23:55 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-12-07 19:09:34 +0300
commit3012446f02781e5208e55a8c997041b782955a74 (patch)
tree18bec2f8a2311fb07542145cb44ac39e113a922a /extern/draco/CMakeLists.txt
parentfb82cfb539f4a33b6fa0a3b44f4833d27b9ef8ca (diff)
glTF: update Draco library to new version
To support decoding and enhanced encoding of Draco compressed glTF files. Differential Revision: https://developer.blender.org/D9642
Diffstat (limited to 'extern/draco/CMakeLists.txt')
-rw-r--r--extern/draco/CMakeLists.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/extern/draco/CMakeLists.txt b/extern/draco/CMakeLists.txt
index 6961fa8a769..d4cfeea4bee 100644
--- a/extern/draco/CMakeLists.txt
+++ b/extern/draco/CMakeLists.txt
@@ -19,20 +19,24 @@
# ***** END GPL LICENSE BLOCK *****
# Build Draco library.
-add_subdirectory(dracoenc)
+add_subdirectory(draco)
-# Build blender-draco-exporter module.
+# Build Draco-Blender bridging module.
set(SRC
- src/draco-compressor.cpp
- src/draco-compressor.h
+ src/common.cpp
+ src/common.h
+ src/decoder.cpp
+ src/decoder.h
+ src/encoder.cpp
+ src/encoder.h
)
set(INC
- dracoenc/src
+ draco/src
)
set(LIB
- dracoenc
+ draco
)
add_library(extern_draco SHARED "${SRC}")