diff options
Diffstat (limited to 'build_files/cmake/config/bpy_module.cmake')
-rw-r--r-- | build_files/cmake/config/bpy_module.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_files/cmake/config/bpy_module.cmake b/build_files/cmake/config/bpy_module.cmake index 64f7f78a286..1637bbf9506 100644 --- a/build_files/cmake/config/bpy_module.cmake +++ b/build_files/cmake/config/bpy_module.cmake @@ -30,3 +30,8 @@ set(WITH_INTERNATIONAL OFF CACHE BOOL "" FORCE) set(WITH_BULLET OFF CACHE BOOL "" FORCE) set(WITH_OPENVDB OFF CACHE BOOL "" FORCE) set(WITH_ALEMBIC OFF CACHE BOOL "" FORCE) + +if(CMAKE_SYSTEM_NAME MATCHES "Linux") + # jemalloc causes linking error on import, disable. + set(WITH_MEM_JEMALLOC OFF CACHE BOOL "" FORCE) +endif() |