mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
Follow up to #151920 Pull Request: https://projects.blender.org/blender/blender/pulls/154081
39 lines
543 B
CMake
39 lines
543 B
CMake
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set(INC
|
|
..
|
|
)
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
set(SRC
|
|
dice.cpp
|
|
interpolation.cpp
|
|
osd.cpp
|
|
patch.cpp
|
|
split.cpp
|
|
)
|
|
|
|
set(SRC_HEADERS
|
|
dice.h
|
|
interpolation.h
|
|
osd.h
|
|
patch.h
|
|
split.h
|
|
subpatch.h
|
|
)
|
|
|
|
set(LIB
|
|
PUBLIC cycles_scene
|
|
PRIVATE bf::dependencies::openimageio
|
|
PUBLIC bf::dependencies::optional::opensubdiv
|
|
)
|
|
|
|
include_directories(${INC})
|
|
include_directories(SYSTEM ${INC_SYS})
|
|
|
|
cycles_add_library(cycles_subd "${LIB}" ${SRC} ${SRC_HEADERS})
|