warning fixes.
[blender-staging.git] / source / blender / modifiers / CMakeLists.txt
index 40f0ad127cdbe962da3a45ce40f1313a2ef30c87..7524244c7014f7dc0e72fb84005939f56547981b 100644 (file)
@@ -85,7 +85,7 @@ ENDIF(WITH_MOD_BOOLEAN)
 IF(WITH_MOD_DECIMATE)
        ADD_DEFINITIONS(-DWITH_MOD_DECIMATE)
        LIST(APPEND INC ../../../intern/decimation/extern)
-ENDIF(WITH_MOD_BOOLEAN)
+ENDIF(WITH_MOD_DECIMATE)
 
 IF(NOT WITH_MOD_FLUID)
        ADD_DEFINITIONS(-DDISABLE_ELBEEM)