* fixed linkage of imagepng lib

* fixed prtview compilation (missing header)

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@230 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
mattn
2008-03-19 07:15:04 +00:00
parent d4c6db46c7
commit 5685756beb
3 changed files with 7 additions and 3 deletions

View 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