Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i'm not sure, if you really want to go without any png support, but you either need:

-DBUILD_PNG=OFF -DWITH_PNG=OFF   //disable png entirely

or:

-DBUILD_PNG=ON -DWITH_PNG=ON     //link in libpng statically from 3rdparty folder

same applies to JPG, and TIFF !

i'm not sure, if you really want to go without any png support, but for statically linking, without any assumptions about libraries available on the final host machine you either need:

-DBUILD_PNG=OFF -DWITH_PNG=OFF   //disable png entirely

or:

-DBUILD_PNG=ON -DWITH_PNG=ON     //link in libpng statically from 3rdparty folder

same pattern also applies to JPG, and TIFF !