diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-09-18 11:37:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-09-18 12:26:33 +0300 |
commit | 6bf5cc62e0901175d98506216932ec6ffd4506a5 (patch) | |
tree | 2df8efdf76a547a1a67ba799d514beb7a8c29d20 /source/blender/nodes/texture | |
parent | 892a5f81761c260aec2a34240601cb27b37ff4b4 (diff) |
Build: limit Py_ENABLE_SHARED to modules using Python headers
And remove Python flags from nodes, no longer needed.
Diffstat (limited to 'source/blender/nodes/texture')
-rw-r--r-- | source/blender/nodes/texture/CMakeLists.txt | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source/blender/nodes/texture/CMakeLists.txt b/source/blender/nodes/texture/CMakeLists.txt index 2ccdf4c0bc9..77db71d4b1a 100644 --- a/source/blender/nodes/texture/CMakeLists.txt +++ b/source/blender/nodes/texture/CMakeLists.txt @@ -57,21 +57,6 @@ set(LIB bf_nodes ) -if(WITH_PYTHON) - list(APPEND INC - ../../python - ) - list(APPEND INC_SYS - ${PYTHON_INCLUDE_DIRS} - ) - list(APPEND LIB - ${PYTHON_LINKFLAGS} - ${PYTHON_LIBRARIES} - ) - add_definitions(-DWITH_PYTHON) -endif() - - blender_add_lib(bf_nodes_texture "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") # RNA_prototypes.h |