forked from qt-creator/qt-creator
CMake: Do not require Qt LinguistTools
They are only used optionally for the translations, so there is no need to require those. Change-Id: I9f84e0d62f7075394e9f260c11746e4327e60995 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -35,11 +35,13 @@ if (WITH_TESTS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Qt5
|
find_package(Qt5
|
||||||
COMPONENTS Concurrent Core Gui LinguistTools Network PrintSupport Qml Quick
|
COMPONENTS Concurrent Core Gui Network PrintSupport Qml Quick
|
||||||
QuickWidgets Sql Widgets Xml ${QT_TEST_COMPONENT}
|
QuickWidgets Sql Widgets Xml ${QT_TEST_COMPONENT}
|
||||||
REQUIRED
|
REQUIRED
|
||||||
)
|
)
|
||||||
|
|
||||||
|
find_package(Qt5 COMPONENTS LinguistTools)
|
||||||
|
|
||||||
find_package(Threads)
|
find_package(Threads)
|
||||||
|
|
||||||
# Get information on directories from qmake
|
# Get information on directories from qmake
|
||||||
|
Reference in New Issue
Block a user