aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMQt4To5Porting.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-02-07 13:17:23 +0100
committerStephen Kelly <steveire@gmail.com>2012-02-07 13:17:23 +0100
commit84eb044da7473cdbd5ef774ff428ef99bc0cd8b2 (patch)
treee20b4892b659ecdf2bbb9f970d24e0bb86f1e4d8 /modules/ECMQt4To5Porting.cmake
parentf29e46457f6769884f99063a86627d3aac3c843e (diff)
downloadextra-cmake-modules-84eb044da7473cdbd5ef774ff428ef99bc0cd8b2.tar.gz
extra-cmake-modules-84eb044da7473cdbd5ef774ff428ef99bc0cd8b2.tar.bz2
Handle the new QtConcurrent library.
Diffstat (limited to 'modules/ECMQt4To5Porting.cmake')
-rw-r--r--modules/ECMQt4To5Porting.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/ECMQt4To5Porting.cmake b/modules/ECMQt4To5Porting.cmake
index 78b6e3da..8e7ea52a 100644
--- a/modules/ECMQt4To5Porting.cmake
+++ b/modules/ECMQt4To5Porting.cmake
@@ -160,6 +160,7 @@ set(_qt_modules
Network
Test
Designer
+ Concurrent
Xml
UiTools
)
@@ -171,6 +172,9 @@ foreach(_module ${_qt_modules})
list(APPEND QT_INCLUDES ${Qt5${_module}_INCLUDE_DIRS})
endforeach()
+list(APPEND QT_QTCORE_LIBRARIES ${Qt5Concurrent_LIBRARIES})
+list(APPEND QT_QTCORE_LIBRARY ${Qt5Concurrent_LIBRARIES})
+
macro(qt4_wrap_ui)
qt5_wrap_ui(${ARGN})
endmacro()