diff options
author | Victor Popov <v.popov@corp.mail.ru> | 2019-01-08 14:32:23 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2019-01-09 14:26:30 +0300 |
commit | 1f2bc65f3aa2b14f827854fc66923c203ab81cfc (patch) | |
tree | de42440ae938aba325b6670e16a39d02037cb401 /CMakeLists.txt | |
parent | 92e3469b3d151aed60a4703e3ad8d4ca754eb5bd (diff) |
Find and link Qt5Widgets for PYBINDINGS.
At least one PYBINDINGS module requires linking with Qt5Widgets:
pytraffic. If we don't find this library, it won't be linked, and thus
pytraffic won't work at all.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d550aaee77..f7210d85a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -182,7 +182,7 @@ if (NOT PLATFORM_IPHONE AND NOT PLATFORM_ANDROID) message(FATAL_ERROR "Minimum supported Qt5 version is 5.5") endif() find_package(Qt5Network REQUIRED) - if (NOT SKIP_DESKTOP OR NOT SKIP_TESTS) + if (NOT SKIP_DESKTOP OR NOT SKIP_TESTS OR PYBINDINGS) find_package(Qt5Widgets) endif() if (NOT SKIP_DESKTOP) |