From ca1113728ee488b046238da621b6e5841a864b25 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Thu, 21 Feb 2019 15:11:51 +0100 Subject: 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 --- src/plugins/platforms/eglfs/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/platforms/eglfs') 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" -- cgit v1.2.3