summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-12-14 08:53:27 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-12-15 15:24:36 +0000
commit646777ed76a4a548174019a8f60bec6d15a9400f (patch)
treeaae8fcb22c9c12744782bb01036970f8e353fc7a
parent858145c3063c4d85c5a81e72d8b5559af3c3b93c (diff)
CMake: Fix .prl file generation
Work around QTBUG-89467 by re-ordering the add_subdirectory calls in src/CMakeLists.txt. The qmake project file looks correct. It's not entirely clear why pro2cmake generated this particular call order. But by now it's not worth fixing anymore. Also, the .prl file generation should not depend on the order of add_subdirectory calls in the first place. Fixes: QTBUG-89412 Change-Id: I899608d8abe829e1b71ca9aa87734361947137f9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 1f391d58e84a798e876d1c7d243a3c17566350ef) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a4a742fdc..dde6b2911 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,11 @@
# Generated from src.pro.
add_subdirectory(core)
+if(QT_FEATURE_qt3d_logic)
+ add_subdirectory(logic)
+endif()
+if(QT_FEATURE_qt3d_input)
+ add_subdirectory(input)
+endif()
if(QT_FEATURE_qt3d_render)
add_subdirectory(render)
@@ -7,12 +13,6 @@ if(QT_FEATURE_qt3d_render)
add_subdirectory(extras)
endif()
endif()
-if(QT_FEATURE_qt3d_logic)
- add_subdirectory(logic)
-endif()
-if(QT_FEATURE_qt3d_input)
- add_subdirectory(input)
-endif()
if(QT_FEATURE_qt3d_animation)
add_subdirectory(animation)
endif()