Ocean Sim modifier patch
[blender.git] / source / blender / modifiers / CMakeLists.txt
index e8ecc75ca60d14856df080920fa6a066d3033607..4aedb4ae7a86626782809697144458871ebd0299 100644 (file)
@@ -67,6 +67,7 @@ set(SRC
        intern/MOD_mirror.c
        intern/MOD_multires.c
        intern/MOD_none.c
+       intern/MOD_ocean.c
        intern/MOD_particleinstance.c
        intern/MOD_particlesystem.c
        intern/MOD_screw.c
@@ -116,6 +117,10 @@ if(WITH_MOD_FLUID)
        add_definitions(-DWITH_MOD_FLUID)
 endif()
 
+if(WITH_OCEANSIM)
+       add_definitions(-DWITH_OCEANSIM)
+endif()
+
 if(WITH_GAMEENGINE)
        # for MOD_navmesh.c
        add_definitions(-DWITH_GAMEENGINE)
@@ -125,4 +130,8 @@ if(WITH_GAMEENGINE)
        )
 endif()
 
+if(WITH_OPENMP)
+       add_definitions(-DPARALLEL=1)
+endif()
+
 blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}")