# SPDX-License-Identifier: GPL-2.0-or-later # Copyright 2019 Blender Foundation. All rights reserved. # Build Draco library. add_subdirectory(draco) # Build Draco-Blender bridging module. set(SRC src/common.cpp src/common.h src/decoder.cpp src/decoder.h src/encoder.cpp src/encoder.h ) set(INC draco/src ) set(LIB draco ) add_library(extern_draco SHARED "${SRC}") target_include_directories(extern_draco PUBLIC "${INC}") target_link_libraries(extern_draco PUBLIC "${LIB}") blender_source_group(extern_draco "${SRC}")