Cleanup: CMake: Modernize bf_intern_clog dependencies

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
This commit is contained in:
Ray Molenkamp
2023-11-24 17:12:24 +01:00
committed by Ray molenkamp
parent b607c8677a
commit b683bcc46c
35 changed files with 37 additions and 37 deletions
+3 -2
View File
@@ -3,8 +3,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later
set(INC
.
../atomic
PUBLIC .
)
set(INC_SYS
@@ -19,9 +18,11 @@ set(SRC
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)