mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 15:32:15 -05:00
28 lines
447 B
CMake
28 lines
447 B
CMake
# SPDX-FileCopyrightText: 2002-2022 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(INC
|
|
PUBLIC .
|
|
)
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
set(SRC
|
|
clog.c
|
|
|
|
CLG_log.h
|
|
)
|
|
|
|
set(LIB
|
|
PRIVATE bf::intern::guardedalloc
|
|
PRIVATE bf::intern::atomic
|
|
)
|
|
|
|
# Disabled for `makesdna` & `makesrna`.
|
|
add_definitions(-DWITH_CLOG_PTHREADS)
|
|
|
|
blender_add_lib(bf_intern_clog "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
|
add_library(bf::intern::clog ALIAS bf_intern_clog)
|