b683bcc46c
Pretty straightforward - Remove any bf_intern_clog paths from INC - Add a dependency though LIB when missing context: https://devtalk.blender.org/t/cmake-cleanup/30260 Pull Request: https://projects.blender.org/blender/blender/pulls/115323
29 lines
441 B
CMake
29 lines
441 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)
|