Ocean Sim modifier patch
[blender.git] / source / blender / blenkernel / CMakeLists.txt
index 1fc851bfa72a5f88343b345a46036d70162256c8..4e7561a1bc88bf20e8c85c8f8181c6f8db23e72d 100644 (file)
@@ -117,6 +117,7 @@ set(SRC
        intern/multires.c
        intern/nla.c
        intern/node.c
+       intern/ocean.c
        intern/object.c
        intern/packedFile.c
        intern/paint.c
@@ -204,6 +205,7 @@ set(SRC
        BKE_multires.h
        BKE_nla.h
        BKE_node.h
+       BKE_ocean.h
        BKE_object.h
        BKE_packedFile.h
        BKE_paint.h
@@ -341,6 +343,10 @@ if(WITH_MOD_SMOKE)
        add_definitions(-DWITH_SMOKE)
 endif()
 
+if(WITH_OCEANSIM)
+       add_definitions(-DWITH_OCEANSIM)
+endif()
+
 if(WITH_JACK)
        add_definitions(-DWITH_JACK)
 endif()
@@ -378,6 +384,11 @@ if(WITH_LIBMV)
        add_definitions(-DWITH_LIBMV)
 endif()
 
+if(WITH_FFTW3)
+       list(APPEND INC_SYS ${FFTW3_INCLUDE_DIRS})      
+       add_definitions(-DFFTW3=1)
+endif()
+
 ## Warnings as errors, this is too strict!
 #if(MSVC)
 #      set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")