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:
Tobias Hunger
2019-11-13 13:31:21 +01:00
parent ad754d93ca
commit b0fb6537f9

View File

@@ -35,11 +35,13 @@ if (WITH_TESTS)
endif()
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}
REQUIRED
)
find_package(Qt5 COMPONENTS LinguistTools)
find_package(Threads)
# Get information on directories from qmake