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