summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-qt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-qt.cmake')
-rw-r--r--cmake/opentrack-qt.cmake10
1 files changed, 4 insertions, 6 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index fbea4d1c..30b3e7c7 100644
--- a/cmake/opentrack-qt.cmake
+++ b/cmake/opentrack-qt.cmake
@@ -8,12 +8,10 @@ find_package(Qt5 COMPONENTS SerialPort QUIET)
set(MY_QT_LIBS ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5Widgets_LIBRARIES} ${Qt5Network_LIBRARIES})
function(otr_install_qt_libs)
- if(WIN32)
- foreach(i Qt5::Core Qt5::Gui Qt5::Network Qt5::SerialPort Qt5::Widgets)
- otr_install_lib(${i} ".")
- endforeach()
- otr_install_lib(Qt5::QWindowsIntegrationPlugin "./platforms")
- endif()
+ foreach(i Qt5::Core Qt5::Gui Qt5::Network Qt5::SerialPort Qt5::Widgets)
+ otr_install_lib(${i} ".")
+ endforeach()
+ otr_install_lib(Qt5::QWindowsIntegrationPlugin "./platforms")
endfunction()
otr_install_qt_libs()