Skip to content

Commit

Permalink
Use bundled libpng by default when building for Windows
Browse files Browse the repository at this point in the history
This was the default before commit bace05c, and is consistent with
how everything else works in Windows builds. In particular, we use the
bundled zlib by default, but libpng depends on zlib, so we shouldn't
use a system libpng unless we are also using a (compatible)
system zlib.
  • Loading branch information
smcv committed Oct 1, 2015
1 parent 49fc045 commit b12a434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ set(UseInternalSDL2Default OFF)
if(WIN32)
set(UseInternalOpenALDefault ON)
set(UseInternalZlibDefault ON)
set(UseInternalPNGDefault ON)
set(UseInternalJPEGDefault ON)
set(UseInternalSDL2Default ON)
endif()
Expand Down

0 comments on commit b12a434

Please sign in to comment.