--- source/blenderplayer/CMakeLists.txt.orig	2011-05-13 16:26:38.000000000 +0200
+++ source/blenderplayer/CMakeLists.txt	2011-05-13 16:27:58.000000000 +0200
@@ -136,6 +136,10 @@
 		list(APPEND BLENDER_SORTED_LIBS extern_lzma)
 	endif()
 
+	if (WITH_IMAGE_REDCODE)
+		list(APPEND BLENDER_SORTED_LIBS extern_redcode)
+	endif()
+
 	if(WITH_MOD_DECIMATE)
 		list(APPEND BLENDER_SORTED_LIBS bf_intern_decimate)
 	endif()
