summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-08-27 02:52:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-08-27 02:52:53 (GMT)
commitad4f98f3cf20c3befa18979521736dc49b458a6c (patch)
tree77b0d21199657b547610ac8789f0a953d0195faa /Modules/FindQt.cmake
parentc9eaf38653dddaf31f082cdac4fe166a7f5fb96a (diff)
downloadCMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.zip
CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.gz
CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.bz2
ENH: Cleanup. Use relative path to modules
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 832e562..518c71f 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( ${CMAKE_ROOT}/Modules/FindX11.cmake )
+ INCLUDE(FindX11)
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( ${CMAKE_ROOT}/Modules/FindThreads.cmake )
+ INCLUDE(FindThreads)
SET(QT_LIBRARIES ${QT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
ENDIF(QT_QT_LIBRARY MATCHES "qt-mt")
ENDIF(QT_FOUND)