summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-qt.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-06-20 23:04:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-06-20 23:04:31 +0200
commit2d04f64d1b2eb8296a21a848c3bcc3f5fbaf9527 (patch)
tree9510dc69a7ca6ffbc6ae60e124c2249a114836d9 /cmake/opentrack-qt.cmake
parent5a9b80fe2c55452b5097930310f7bc8cda3108ce (diff)
cmake: try fix platform plugin on mingw
Diffstat (limited to 'cmake/opentrack-qt.cmake')
-rw-r--r--cmake/opentrack-qt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index 2f3c034e..b0d2de78 100644
--- a/cmake/opentrack-qt.cmake
+++ b/cmake/opentrack-qt.cmake
@@ -1,8 +1,8 @@
include_guard(GLOBAL)
-find_package(Qt5 REQUIRED COMPONENTS Core Network Widgets LinguistTools Gui QUIET)
if(WIN32)
find_package(Qt5Gui REQUIRED COMPONENTS QWindowsIntegrationPlugin)
endif()
+find_package(Qt5 REQUIRED COMPONENTS Core Network Widgets LinguistTools Gui QUIET)
find_package(Qt5 COMPONENTS SerialPort QUIET)
set(MY_QT_LIBS ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5Widgets_LIBRARIES} ${Qt5Network_LIBRARIES})