diff options
Diffstat (limited to 'source/blender/nodes/function/CMakeLists.txt')
-rw-r--r-- | source/blender/nodes/function/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/nodes/function/CMakeLists.txt b/source/blender/nodes/function/CMakeLists.txt index 705d426a3ec..118a1fbffd1 100644 --- a/source/blender/nodes/function/CMakeLists.txt +++ b/source/blender/nodes/function/CMakeLists.txt @@ -68,3 +68,8 @@ if(WITH_INTERNATIONAL) endif() blender_add_lib(bf_nodes_function "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") + +if(WITH_UNITY_BUILD) + set_target_properties(bf_nodes_function PROPERTIES UNITY_BUILD ON) + set_target_properties(bf_nodes_function PROPERTIES UNITY_BUILD_BATCH_SIZE 10) +endif() |