diff options
author | truelight <truelight@openttd.org> | 2007-06-13 18:52:06 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-06-13 18:52:06 +0000 |
commit | 063c4f7862693c6ea3c0698e049a88c3196e2d80 (patch) | |
tree | c999a44c328fb8a50db6f8f75b7e974b2fe332de /projects/generate | |
parent | a84e6b015d2715daa872f11f1f3893ce06e9f458 (diff) | |
download | openttd-063c4f7862693c6ea3c0698e049a88c3196e2d80.tar.xz |
(svn r10148) -Fix r10143: make --without-png to compile again
Diffstat (limited to 'projects/generate')
-rwxr-xr-x | projects/generate | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/generate b/projects/generate index f0fbbda2f..c40cd8d5b 100755 --- a/projects/generate +++ b/projects/generate @@ -31,6 +31,7 @@ fi # First, collect the list of Windows files sdl_config="1" +png_config="1" os="MSVC" enable_dedicated="0" with_cocoa="0" @@ -52,6 +53,7 @@ load_main_data() { deep += 1; if ($0 == "SDL" && "'$sdl_config'" == "") { next; } + if ($0 == "PNG" && "'$png_config'" == "") { next; } if ($0 == "OSX" && "'$os'" != "OSX") { next; } if ($0 == "OS2" && "'$os'" != "OS2") { next; } if ($0 == "PSP" && "'$os'" != "PSP") { next; } |