summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-21 15:11:51 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-27 15:06:21 +0000
commitca1113728ee488b046238da621b6e5841a864b25 (patch)
tree32a75b9fdf4e8c6993144115a20b0be6fee2464e /src/plugins/platforms/eglfs
parent31e1dda94b66581580dd92a3664d5f5773b81065 (diff)
cmake: Make it so that eglfs plugin doesn't hang on make -jN
Since the dependency on moc is in CorePrivate (o Core) we need the target to depend on it otherwise cmake will try to use moc before it is built. This is because what we do with cmake is say "moc is in this path, you can use it", but it's actually not built yet so we need to depend on a target that depends on moc directly otherwise cmake will trust us and try to use a cmake that doesn't exist and just hang forever when running make -jN Change-Id: Icf55c62092fd3fd3754a4f4f28c8c313bf374615 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs')
-rw-r--r--src/plugins/platforms/eglfs/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/CMakeLists.txt b/src/plugins/platforms/eglfs/CMakeLists.txt
index fb7f0fcbc2..e508745da8 100644
--- a/src/plugins/platforms/eglfs/CMakeLists.txt
+++ b/src/plugins/platforms/eglfs/CMakeLists.txt
@@ -90,6 +90,7 @@ add_qt_plugin(qeglfs
INCLUDE_DIRECTORIES
api
LIBRARIES
+ Qt::CorePrivate
Qt::EglFSDeviceIntegrationPrivate
EGL::EGL
# CONFIG = "egl"