diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-23 13:59:51 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-23 14:16:35 +0100 |
commit | d9c08de6846435b2f9b685dd19124522943c52a4 (patch) | |
tree | 8a1231c0b255fcc7576cadd07e738589ec0570c0 /cmake | |
parent | c5d6e636ff7a8df96fb52d4a9700779f480fa576 (diff) |
[MERGE] cmake: oops, fix qt library copy logic
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-qt.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake index 41bd6291..800e9096 100644 --- a/cmake/opentrack-qt.cmake +++ b/cmake/opentrack-qt.cmake @@ -4,7 +4,7 @@ if(WIN32) endif() set(qt-required-components Core Network Widgets LinguistTools Gui) set(qt-optional-components SerialPort) -set(qt-imported-targets Qt5::Core Qt5::Gui Qt5::Network Qt5::SerialPort Qt5::Widgets) +set(qt-imported-targets Qt5::Core Qt5::Gui Qt5::Network Qt5::Widgets) if(APPLE) list(APPEND qt-required-components "DBus") list(APPEND qt-optional-components "Multimedia") @@ -31,7 +31,9 @@ function(otr_install_qt_libs) endif() endfunction() -otr_install_qt_libs() +if(WIN32 OR APPLE) + otr_install_qt_libs() +endif() function(otr_qt n) if(".${${n}-cc}${${n}-cxx}${${n}-hh}" STREQUAL ".") |