summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libpng
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-07-20 19:19:19 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-07-25 19:52:38 +0200
commit82a00471acaffe947779a01f4c4a44b559671067 (patch)
tree678911d701a06b24932f0ebea417461c3bad048d /src/3rdparty/libpng
parent976539b4afe673173c480a91711a1ac953ddc2ba (diff)
CMake: Don't use AUTOMOC for third party libraries
None of them have Qt sources that need moc-ing. It's also needed to circumvent an AUTOMOC + PCH issue when AUTOMOC is enabled for a target that does not have any C++ sources, but the target links to another target that does have C++ sources. Pick-to: 6.4 Change-Id: Ib1b2aa766089f093117c1ba34e156dfe8b0957e6 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/3rdparty/libpng')
-rw-r--r--src/3rdparty/libpng/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/libpng/CMakeLists.txt b/src/3rdparty/libpng/CMakeLists.txt
index b3c5bab20b..95705fa47a 100644
--- a/src/3rdparty/libpng/CMakeLists.txt
+++ b/src/3rdparty/libpng/CMakeLists.txt
@@ -7,6 +7,7 @@
qt_internal_add_3rdparty_library(BundledLibpng
QMAKE_LIB_NAME libpng
STATIC
+ SKIP_AUTOMOC
INSTALL
SOURCES
png.c