mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
ENH: QT if it is multi threaded should link in threads
This commit is contained in:
parent
2760bf9fa1
commit
9549a5f1dd
@ -93,6 +93,10 @@ IF(QT_INCLUDE_DIR)
|
||||
SET (QT_LIBRARIES ${QT_LIBRARIES} ${X11_LIBRARIES})
|
||||
ENDIF (X11_FOUND)
|
||||
ENDIF(UNIX)
|
||||
IF(QT_QT_LIBRARY MATCHES "qt-mt")
|
||||
INCLUDE( ${CMAKE_ROOT}/Modules/FindThreads.cmake )
|
||||
SET(QT_LIBRARIES ${QT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
ENDIF(QT_QT_LIBRARY MATCHES "qt-mt")
|
||||
|
||||
ENDIF(QT_QT_LIBRARY)
|
||||
ENDIF(QT_INCLUDE_DIR)
|
||||
|
Loading…
Reference in New Issue
Block a user