blender/extern/wcwidth/CMakeLists.txt
Brecht Van Lommel e46f4c1a7e Refactor: Use more modern bf::dependencies and bf::extern in CMake
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
2026-01-14 17:45:17 +01:00

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)