GH-2291 Fix build with Qt 5.11+

This commit is contained in:
Sergey Shatunov
2018-06-01 21:20:33 +07:00
parent f0ff2db4e1
commit 4d68c1b509
19 changed files with 21 additions and 14 deletions

View File

@ -19,7 +19,7 @@ elseif (UNIX)
endif()
add_library(systeminfo STATIC ${systeminfo_SOURCES})
qt5_use_modules(systeminfo Core Gui Network)
target_link_libraries(systeminfo Qt5::Core Qt5::Gui Qt5::Network)
target_include_directories(systeminfo PUBLIC include)
include (UnitTest)