make crunch build optional and disabled by default
[xonotic/netradiant.git] / plugins / CMakeLists.txt
index a41ed78..d6c7f07 100644 (file)
@@ -17,6 +17,11 @@ add_subdirectory(archivewad)
 add_subdirectory(archivezip)
 add_subdirectory(entity)
 add_subdirectory(image)
+
+if(BUILD_CRUNCH)
+       add_subdirectory(imagecrn)
+endif()
+
 add_subdirectory(imagehl)
 add_subdirectory(imagepng)
 add_subdirectory(imageq2)