]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - SConscript.module
* INSTALL.txt: dead link
[xonotic/netradiant.git] / SConscript.module
index ba7665b567425f8e8649d7a212b0b0254c8a9206..a7f254970dc45fdacb39923219c7db362510c4f7 100644 (file)
@@ -13,6 +13,8 @@ libname = os.path.splitext( libname )[0]
 env = Environment()
 useJPEG = False
 useGtk = False
+useZ = False
+usePNG = False
 if ( libname == 'image' ):
        useJPEG = True
 if ( libname == 'surface' ):
@@ -39,8 +41,11 @@ if ( libname == 'model' ):
        useGtk = True
 if ( libname == 'TexTool' ):
        useGtk = True
+if ( libname == 'imagepng' ):
+       usePNG = True
 
-settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG )
+
+settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG, useZ = useZ, usePNG = usePNG )
 proj = utils.vcproj( os.path.join( GetLaunchDir(), project ) )
 
 # some filtering. may need to improve that