--- avidemux/ADM_userInterfaces/ADM_render/CMakeLists.txt.orig	2010-09-07 13:14:57.000000000 +0200
+++ avidemux/ADM_userInterfaces/ADM_render/CMakeLists.txt	2010-09-07 13:15:21.000000000 +0200
@@ -6,9 +6,9 @@
 GUI_xvRender.cpp
 )
 
-IF (APPLE)
+IF (APPLE AND USE_SDL)
 	SET(${ADM_LIB}_SRCS ${${ADM_LIB}_SRCS} GUI_sdlRenderHelper.m)
-ENDIF (APPLE)
+ENDIF (APPLE AND USE_SDL)
 
 ADD_ADM_SHARED_LIB_ALL_TARGETS(${ADM_LIB} ${${ADM_LIB}_SRCS})
 SDLify(GUI_sdlRender.cpp)
