diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 18:44:02 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 18:44:02 +0200 |
commit | b5a2d056b8840b03e53f8cb7c6da9fec4aded8c9 (patch) | |
tree | 943d47875632f01c8a2f6779a542c66b3dd47c04 /cmake/opentrack-qt.cmake | |
parent | fb5739173a61d6167dab24a5f1ff1628779cc76c (diff) |
cmake: fix build without qserialport
Diffstat (limited to 'cmake/opentrack-qt.cmake')
-rw-r--r-- | cmake/opentrack-qt.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake index 30b3e7c7..2f3c034e 100644 --- a/cmake/opentrack-qt.cmake +++ b/cmake/opentrack-qt.cmake @@ -9,6 +9,9 @@ set(MY_QT_LIBS ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5Widgets_LIBRARIES} function(otr_install_qt_libs) foreach(i Qt5::Core Qt5::Gui Qt5::Network Qt5::SerialPort Qt5::Widgets) + if(NOT TARGET "${i}") + continue() + endif() otr_install_lib(${i} ".") endforeach() otr_install_lib(Qt5::QWindowsIntegrationPlugin "./platforms") |