]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - SConscript.module
* more translateable strings
[xonotic/netradiant.git] / SConscript.module
index 06ac53856d4bd9f6926be3fbb67a51701dc81af0..a7f254970dc45fdacb39923219c7db362510c4f7 100644 (file)
@@ -14,6 +14,7 @@ env = Environment()
 useJPEG = False
 useGtk = False
 useZ = False
+usePNG = False
 if ( libname == 'image' ):
        useJPEG = True
 if ( libname == 'surface' ):
@@ -40,10 +41,11 @@ if ( libname == 'model' ):
        useGtk = True
 if ( libname == 'TexTool' ):
        useGtk = True
-#if ( libname == 'imagepng' ):
-#      useZ = True
+if ( libname == 'imagepng' ):
+       usePNG = True
 
-settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG, useZ = useZ )
+
+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