Skip to content

Commit

Permalink
Allow compiling with png support in codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 6, 2015
1 parent 84f61dc commit 65965e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projectfiles/CodeBlocks/wesnoth.cbp
Expand Up @@ -37,6 +37,7 @@
<Add option="-Wno-strict-aliasing" />
<Add option="-Wno-missing-braces" />
<Add option="-DHAVE_PYTHON" />
<Add option="-DHAVE_LIBPNG" />
<Add option="-DUSE_GZIP" />
<Add option="-D_WIN32_WINDOWS" />
<Add option="-D_WIN32_WINNT=0x0501" />
Expand Down Expand Up @@ -76,11 +77,14 @@
<Add library="libboost_bzip2-mgw45-mt-1_57.a" />
<Add library="libboost_filesystem-mgw45-mt-1_57.a" />
<Add library="libboost_locale-mgw45-mt-1_57.a" />
<Add library="libpng" />
<Add directory="./" />
</Linker>
<Unit filename="../../packaging/windows/wesnoth.rc">
<Option compilerVar="WINDRES" />
</Unit>
<Unit filename="../../src/SDL_SavePNG/savepng.cpp" />
<Unit filename="../../src/SDL_SavePNG/savepng.h" />
<Unit filename="../../src/about.cpp" />
<Unit filename="../../src/about.hpp" />
<Unit filename="../../src/actions/attack.cpp" />
Expand Down

0 comments on commit 65965e8

Please sign in to comment.