Due to changes in the build environment shader_builder wasn't able to compile on macOs. This patch reverts several recent changes to CMake files. *dbb2844ed9*94817f64b9*1b6cd937ffThe idea is that in the near future shader_builder will run on the buildbot as part of any regular build to ensure that changes to the CMake doesn't break shader_builder and we only detect it after a few days. Pull Request: https://projects.blender.org/blender/blender/pulls/115929
56 lines
945 B
CMake
56 lines
945 B
CMake
# SPDX-FileCopyrightText: 2023 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(INC
|
|
.
|
|
../../blenkernel
|
|
../../bmesh
|
|
../../imbuf
|
|
)
|
|
|
|
set(INC_SYS
|
|
${PYTHON_INCLUDE_DIRS}
|
|
)
|
|
|
|
set(SRC
|
|
mathutils.cc
|
|
mathutils_Color.cc
|
|
mathutils_Euler.cc
|
|
mathutils_Matrix.cc
|
|
mathutils_Quaternion.cc
|
|
mathutils_Vector.cc
|
|
mathutils_bvhtree.cc
|
|
mathutils_geometry.cc
|
|
mathutils_interpolate.cc
|
|
mathutils_kdtree.cc
|
|
mathutils_noise.cc
|
|
|
|
mathutils.h
|
|
mathutils_Color.h
|
|
mathutils_Euler.h
|
|
mathutils_Matrix.h
|
|
mathutils_Quaternion.h
|
|
mathutils_Vector.h
|
|
mathutils_bvhtree.h
|
|
mathutils_geometry.h
|
|
mathutils_interpolate.h
|
|
mathutils_kdtree.h
|
|
mathutils_noise.h
|
|
)
|
|
|
|
set(LIB
|
|
PRIVATE bf::blenlib
|
|
PRIVATE bf::depsgraph
|
|
PRIVATE bf::dna
|
|
bf_imbuf
|
|
PRIVATE bf::intern::guardedalloc
|
|
bf_python_ext
|
|
|
|
${PYTHON_LINKFLAGS}
|
|
${PYTHON_LIBRARIES}
|
|
)
|
|
|
|
|
|
blender_add_lib(bf_python_mathutils "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|