diff options
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/CMakeLists.txt | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ee24206bd7..938a6f98cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,6 +55,9 @@ if (QT_WILL_BUILD_TOOLS) add_subdirectory(qmake) endif() +# Need to build qmake and other Core tools before exporting them. +qt_export_tools(Core) + # As long as we use the mkspecs (for qplatformdefs.h), we need to always # install it, especially when cross-compiling. set(mkspecs_install_dir "${INSTALL_DATADIR}") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5165350d2b..bf522e9499 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -26,9 +26,6 @@ if (QT_FEATURE_xml) endif() add_subdirectory(tools) -# Need to build qmake and other Core tools before exporting them. -qt_export_tools(Core) - if (QT_FEATURE_dbus) add_subdirectory(dbus) endif() |