This commit is contained in:
Daniel Molkentin 2014-12-18 15:52:06 +01:00 коммит произвёл Klaas Freitag
Родитель 101d2268ff
Коммит 9693048f78
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -17,6 +17,7 @@ if( Qt5Core_FOUND )
message(STATUS "Found Qt5 core, checking for further dependencies...")
find_package(Qt5Network REQUIRED)
find_package(Qt5Xml REQUIRED)
find_package(Qt5Concurrent REQUIRED)
if(NOT TOKEN_AUTH_ONLY)
find_package(Qt5WebKitWidgets REQUIRED)
find_package(Qt5WebKit REQUIRED)
@ -111,7 +112,7 @@ endif( Qt5Core_FOUND )
if(NOT Qt5Core_FOUND)
message(STATUS "Could not find Qt5, searching for Qt4 instead...")
set(NEEDED_QT4_COMPONENTS "QtCore" "QtXml" "QtNetwork" "QtGui" "QtWebkit")
set(NEEDED_QT4_COMPONENTS "QtCore" "QtXml" "QtNetwork" "QtGui" "QtWebkit" "QtConcurrent")
if( BUILD_TESTS )
list(APPEND NEEDED_QT4_COMPONENTS "QtTest")
endif()

Просмотреть файл

@ -151,9 +151,9 @@ GENERATE_EXPORT_HEADER( ${synclib_NAME}
if(TOKEN_AUTH_ONLY)
qt5_use_modules(${synclib_NAME} Network)
qt5_use_modules(${synclib_NAME} Network Concurrent)
else()
qt5_use_modules(${synclib_NAME} Widgets Network WebKitWidgets)
qt5_use_modules(${synclib_NAME} Widgets Network WebKitWidgets Concurrent)
endif()
set_target_properties( ${synclib_NAME} PROPERTIES