make crunch build optional and disabled by default
[xonotic/netradiant.git] / libs / CMakeLists.txt
index 6fdcc0b..633b965 100644 (file)
@@ -1,6 +1,8 @@
 add_subdirectory(cmdlib)
 add_subdirectory(container)
-add_subdirectory(crnrgba)
+if (BUILD_CRUNCH)
+    add_subdirectory(crnrgba)
+endif ()
 add_subdirectory(ddslib)
 add_subdirectory(debugging)
 add_subdirectory(etclib)