mirror of
https://github.com/blender/blender
synced 2026-10-22 11:58:35 +03:00
Replacing various include directories, defines and libraries specified directly. Additionally, this makes it so bf::dependencies are automatically added last to the target. This ensures include directories from bf::extern libraries have priority over them, so that e.g. our own fmtlib will be used rather than one that might be installed on the system. Pull Request: https://projects.blender.org/blender/blender/pulls/151920
23 lines
311 B
CMake
23 lines
311 B
CMake
# SPDX-FileCopyrightText: 2013 Blender Foundation
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(INC
|
|
.
|
|
)
|
|
|
|
set(INC_SYS
|
|
PUBLIC .
|
|
)
|
|
|
|
set(SRC
|
|
wcwidth.c
|
|
|
|
wcwidth.h
|
|
)
|
|
|
|
set(LIB
|
|
)
|
|
|
|
blender_add_lib(extern_wcwidth "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
|
add_library(bf::extern::wcwidth ALIAS extern_wcwidth)
|