From 3012446f02781e5208e55a8c997041b782955a74 Mon Sep 17 00:00:00 2001 From: Jim Eckerlein Date: Mon, 7 Dec 2020 15:23:55 +0100 Subject: 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 --- extern/draco/CMakeLists.txt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'extern/draco/CMakeLists.txt') 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}") -- cgit v1.2.3