blender/extern/fast_float/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

7 lines
265 B
CMake

# SPDX-FileCopyrightText: 2026 Blender Foundation
#
# SPDX-License-Identifier: GPL-2.0-or-later
add_library(extern_fast_float INTERFACE)
target_include_directories(extern_fast_float SYSTEM INTERFACE ".")
add_library(bf::extern::fast_float ALIAS extern_fast_float)