Fix qtlibpng being built despite system libpng being found
90eee08b
made system-png a subset of png, which is strictly speaking a
porting error. However, as this is a good idea as such, fix it by adding
the missing !system-png check.
Change-Id: I1557a2130a22ac668be315dc9aea67845928ff4c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
This commit is contained in:
parent
9cc3c8983e
commit
b08bdfb2e4
@ -164,7 +164,7 @@ qtConfig(gui) {
|
||||
SUBDIRS += src_angle
|
||||
src_gui.depends += src_angle
|
||||
}
|
||||
qtConfig(png) {
|
||||
qtConfig(png):!qtConfig(system-png) {
|
||||
SUBDIRS += src_3rdparty_libpng
|
||||
src_3rdparty_freetype.depends += src_3rdparty_libpng
|
||||
src_gui.depends += src_3rdparty_libpng
|
||||
|
Loading…
Reference in New Issue
Block a user