diff options
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") |