Lock-free memory allocator
[blender.git] / source / blender / makesrna / intern / CMakeLists.txt
index 9554941ec1fc8114719ef3a2de157b067f263928..3d710917e3d2b77031e8f15ce5f529f3ae469854 100644 (file)
@@ -137,6 +137,8 @@ set(SRC
        ${DEFSRC}
        ${APISRC}
        ../../../../intern/guardedalloc/intern/mallocn.c
+       ../../../../intern/guardedalloc/intern/mallocn_guarded_impl.c
+       ../../../../intern/guardedalloc/intern/mallocn_lockfree_impl.c
        ../../../../intern/guardedalloc/intern/mmap_win.c
 )
 
@@ -253,11 +255,6 @@ if(WITH_BULLET)
        add_definitions(-DWITH_BULLET)
 endif()
 
-# for mallocn.c
-if (WITH_GUARDEDALLOC)
-       add_definitions(-DWITH_GUARDEDALLOC)
-endif()
-
 # Build makesrna executable
 blender_include_dirs(
        .