diff --git a/SRB2.cbp b/SRB2.cbp
index dd55c3118ccd0a158393867d864cd06456633f0e..9aaadf5f204117e97c018f1e4efa0528aca76666 100644
--- a/SRB2.cbp
+++ b/SRB2.cbp
@@ -4159,6 +4159,8 @@ HW3SOUND for 3D hardware sound  support
 		</Unit>
 		<Unit filename="src/sdl/IMG_xpm.c">
 			<Option compilerVar="CC" />
+			<Option compile="0" />
+			<Option link="0" />
 			<Option target="Debug Native/SDL" />
 			<Option target="Release Native/SDL" />
 			<Option target="Debug Linux/SDL" />