This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/python/CMakeLists.txt
Brecht Van Lommel 6bf5cc62e0 Build: limit Py_ENABLE_SHARED to modules using Python headers
And remove Python flags from nodes, no longer needed.
2022-09-18 11:26:33 +02:00

12 lines
240 B
CMake

# SPDX-License-Identifier: GPL-2.0-or-later
if(WITH_PYTHON_MODULE)
add_definitions(-DPy_ENABLE_SHARED)
endif()
add_subdirectory(intern)
add_subdirectory(generic)
add_subdirectory(gpu)
add_subdirectory(mathutils)
add_subdirectory(bmesh)