diff options
Diffstat (limited to 'Modules/FindQt.cmake')
-rw-r--r-- | Modules/FindQt.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 691d3a1..e23134a 100644 --- a/Modules/FindQt.cmake +++ b/Modules/FindQt.cmake @@ -87,6 +87,13 @@ IF(QT_INCLUDE_DIR) SET (QT_MOC_EXE ${QT_MOC_EXECUTABLE} ) SET (QT_UIC_EXE ${QT_UIC_EXECUTABLE} ) + IF(UNIX) + INCLUDE( ${CMAKE_ROOT}/Modules/FindX11.cmake ) + IF (X11_FOUND) + SET (QT_LIBRARIES ${QT_LIBRARIES} ${X11_LIBRARIES}) + ENDIF (X11_FOUND) + ENDIF(UNIX) + ENDIF(QT_QT_LIBRARY) ENDIF(QT_INCLUDE_DIR) |