blender/intern/mikktspace/CMakeLists.txt
Clément Foucault 6a288ca4f8 Build: Bump minimal CMake version to 3.21
This is motivated by the need to use the `DEPFILE`
option inside the `add_custom_command` function (see !156980).

This feature is only ubiquitous for our generators since 3.21.
See CMake documentation for more detail:
https://cmake.org/cmake/help/latest/command/add_custom_command.html

This bump only prevent deployment to (nearly) EndOfLife linux
distributions like Debian 11 and Ubuntu 20.04.
https://repology.org/project/cmake/versions

This doesn't introduce any new policy warnings.

Pull Request: https://projects.blender.org/blender/blender/pulls/157110
2026-04-10 16:51:04 +02:00

17 lines
473 B
CMake

# SPDX-FileCopyrightText: 2006 Blender Authors
#
# SPDX-License-Identifier: GPL-2.0-or-later
add_library(bf_intern_mikktspace INTERFACE)
target_include_directories(bf_intern_mikktspace INTERFACE .)
target_link_libraries(bf_intern_mikktspace INTERFACE bf::dependencies::optional::tbb)
set(SRC
mikk_atomic_hash_set.hh
mikk_float3.hh
mikk_util.hh
mikktspace.hh
)
target_sources(bf_intern_mikktspace PRIVATE ${SRC})
blender_source_group(bf_intern_mikktspace ${SRC})