cmake option to build without smoke sim: WITH_MOD_SMOKE
[blender.git] / source / blender / gpu / CMakeLists.txt
index ce3150476f98ebc7eb6f4f4f08d8a8b40c0fcda3..76e347270bac93da033e7aae153bf494d895e455 100644 (file)
@@ -56,6 +56,10 @@ set(SRC
        intern/gpu_codegen.h
 )
 
+if(WITH_MOD_SMOKE)
+       add_definitions(-DWITH_SMOKE)
+endif()
+
 add_definitions(-DGLEW_STATIC)
 
 blender_add_lib(bf_gpu "${SRC}" "${INC}" "${INC_SYS}")