summaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-17 22:06:45 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-17 22:06:45 +0000
commit955e3bfa945965c0795ed02a5a0e2d1c896ed622 (patch)
tree665bbacd0fd365971ef92984ebba25589c2a0d47 /cmake/modules
parentce53981f65d8f277731f9264e7b704c6a3890ada (diff)
downloadother-955e3bfa945965c0795ed02a5a0e2d1c896ed622.tar.gz
other-955e3bfa945965c0795ed02a5a0e2d1c896ed622.zip
[kde-common/cmake] rename QT_INCLUDE_DIR to QT_INCLUDE_DIRS and QT_LIBRARY_DIR to QT_LIBRARY_DIRS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1186920 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindQt.cmake24
1 files changed, 12 insertions, 12 deletions
diff --git a/cmake/modules/FindQt.cmake b/cmake/modules/FindQt.cmake
index 52d6485..dd3490d 100644
--- a/cmake/modules/FindQt.cmake
+++ b/cmake/modules/FindQt.cmake
@@ -52,37 +52,37 @@ if( NOT QT_FOUND )
# try to find path to qt.h
# we assume that this path is Qt's include path
- find_path( QT_INCLUDE_DIR qt.h
- ${QT_INCLUDE_DIR}
+ find_path( QT_INCLUDE_DIRS qt.h
+ ${QT_INCLUDE_DIRS}
${QTDIR}/include
$ENV{QTDIR}/include )
- if( NOT QT_INCLUDE_DIR )
+ if( NOT QT_INCLUDE_DIRS )
tde_message_fatal(
"Unable to find qt.h!
Qt are correctly installed?
- Try to set QT_INCLUDE_DIR manually.
- Example: cmake -DQT_INCLUDE_DIR=/usr/qt/3/include" )
+ Try to set QT_INCLUDE_DIRS manually.
+ Example: cmake -DQT_INCLUDE_DIRS=/usr/qt/3/include" )
- endif( NOT QT_INCLUDE_DIR )
+ endif( NOT QT_INCLUDE_DIRS )
# try to find libqt-mt.so
# we assume that this is Qt's libraries path
- find_path( QT_LIBRARY_DIR libqt-mt.so
- ${QT_LIBRARY_DIR}
+ find_path( QT_LIBRARY_DIRS libqt-mt.so
+ ${QT_LIBRARY_DIRS}
${QTDIR}/lib
$ENV{QTDIR}/lib )
- if( NOT QT_LIBRARY_DIR )
+ if( NOT QT_LIBRARY_DIRS )
tde_message_fatal(
"Unable to find libqt-mt.so!
Qt are correctly installed?
- Try to set QT_LIBRARY_DIR manually.
- Example: cmake -DQT_LIBRARY_DIR=/usr/qt/3/lib" )
+ Try to set QT_LIBRARY_DIRS manually.
+ Example: cmake -DQT_LIBRARY_DIRS=/usr/qt/3/lib" )
- endif( NOT QT_LIBRARY_DIR )
+ endif( NOT QT_LIBRARY_DIRS )
message( STATUS " found Qt, version ${__version}" )
set( QT_FOUND true CACHE INTERNAL QT_FOUND FORCE )