summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-10 15:15:07 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-10 15:15:07 (GMT)
commit0e67feb17aba65d3359d81ed26d595c033e23a48 (patch)
treef39cef42dcb1352fffad0d2cdf72e223d45c5a4a /Modules/FindQt.cmake
parent685a8ed86fc6371820480f52e4f16cf93023ee12 (diff)
downloadCMake-0e67feb17aba65d3359d81ed26d595c033e23a48.zip
CMake-0e67feb17aba65d3359d81ed26d595c033e23a48.tar.gz
CMake-0e67feb17aba65d3359d81ed26d595c033e23a48.tar.bz2
ENH: Use FIND_PACKAGE instead of INCLUDE(Find...
Diffstat (limited to 'Modules/FindQt.cmake')
-rw-r--r--Modules/FindQt.cmake4
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)