diff options
Diffstat (limited to 'Modules/FindQt.cmake')
-rw-r--r-- | Modules/FindQt.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 518c71f..60961b8 100644 --- a/Modules/FindQt.cmake +++ b/Modules/FindQt.cmake @@ -205,7 +205,7 @@ IF(QT_FOUND) SET (QT_UIC_EXE ${QT_UIC_EXECUTABLE} ) # for unix add X11 stuff IF(UNIX) - INCLUDE(FindX11) + FIND_PACKAGE(X11) IF (X11_FOUND) SET (QT_LIBRARIES ${QT_LIBRARIES} ${X11_LIBRARIES}) ENDIF (X11_FOUND) @@ -214,7 +214,7 @@ IF(QT_FOUND) ENDIF (CMAKE_DL_LIBS) ENDIF(UNIX) IF(QT_QT_LIBRARY MATCHES "qt-mt") - INCLUDE(FindThreads) + FIND_PACKAGE(Threads) SET(QT_LIBRARIES ${QT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) ENDIF(QT_QT_LIBRARY MATCHES "qt-mt") ENDIF(QT_FOUND) |